问题
In javascript I created a loader for a wizard. I talk about a single page with a wizard section.
Every (new) sequence state of the page loads a HTML section from the server into the wizard dom section of the page and executes a script. The script for this sequence state is also loaded.
I have seen a lot of discussion about loading Dart scripts and this blog post from Sett Ladd. I understand I can only load Dart scripts in isolates.
My questions:
- Can I create the above like wizard in Dart?
- When I load a script in an isolate, can I access the "current" page dom?
来源:https://stackoverflow.com/questions/24855276/loading-html-in-the-current-dom-and-execute-a-loaded-script