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

How to handle iced runtime? #6

Open
0xorial opened this issue Jan 25, 2016 · 1 comment
Open

How to handle iced runtime? #6

0xorial opened this issue Jan 25, 2016 · 1 comment

Comments

@0xorial
Copy link

0xorial commented Jan 25, 2016

How do I add iced runtime to my page? I assume that 'inline' option makes it inlined with each file.. Is there a better way if there are multiple files in project?

@doublerebel
Copy link

@0xorial: yes, better than 'inline' is 'window'. As described in the Iced docs under Usage:

If window is specified, make inline a runtime and assigned it to window.iced, so that other fragments later in the file don't need it.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants