Loading HTML in the current dom and execute a load

2019-08-30 09:52发布

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:

  1. Can I create the above like wizard in Dart?
  2. When I load a script in an isolate, can I access the "current" page dom?

0条回答
登录 后发表回答