Is there anyway to invoke a Dart REPL on a website, when using Dartium?

╄→尐↘猪︶ㄣ 提交于 2019-12-07 04:44:28

问题


I now know that I can't interact with Dart via the console, but I was hoping that there may be another way to invoke a REPL within Dartium.

Basically, what I would like to be able to do is: 1. Go to a website in Dartium 2. Invoke some sort of Dart REPL 3. Mess about with the DOM, CSS etc., using Dart commands, rather than Javascript.

Is this possible at all? Or, is the Dart development model all Edit/Refresh?

Cheers Andy


回答1:


Chrome Dev tools in Dartium will now let you do this very nicely.




回答2:


Dart edit model is Edit/Refresh. Maybe you are looking for something like http://try.dartlang.org/



来源:https://stackoverflow.com/questions/14801429/is-there-anyway-to-invoke-a-dart-repl-on-a-website-when-using-dartium

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!