0

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?
voscausa
  • 11,253
  • 2
  • 39
  • 67
  • 1
    for 2) I believe it's no, you can only pass a message back to the main isolate which can itself update or see the dom. – Paul Collingwood Jul 20 '14 at 22:03
  • 1
    I found : spawnDomUri (Experimental) : https://api.dartlang.org/apidocs/channels/stable/dartdoc-viewer/dart-dom-html#id_spawnDomUri no docs and some issues. – voscausa Jul 21 '14 at 00:11

0 Answers0