Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

More samples #184

Open
svefro opened this issue Nov 5, 2024 · 0 comments
Open

More samples #184

svefro opened this issue Nov 5, 2024 · 0 comments
Labels
enhancement New feature or request

Comments

@svefro
Copy link

svefro commented Nov 5, 2024

Could you provide some more samples?

  • How to bind async functions? This do not work at my end:
webview.bind("press", async (a, b, c) => {
  console.log(a, b, c);

  const message_from_file = await Deno.readTextFile("test.txt");
  console.log(message_from_file)

  return { times: counter++, file:message_from_file };
});
  • How to compile application that does not show console window on windows?
    using --no-terminal does not work for me. app exits right away
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Development

No branches or pull requests

2 participants