是否还有使用Dartium在网站上调用Dart REPL? [英] Is there anyway to invoke a Dart REPL on a website, when using Dartium?
问题描述
我现在知道我不能与 Dart通过控制台,但我希望可能有另一种方法来调用Dartium中的REPL。
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.
基本上,我想要能够做的是:
1.去Dartium的一个网站
2.调用某种Dart REPL
3.用DOM,CSS等等,使用Dart命令,而不是Javascript。
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.
这是可能的吗?或者,Dart开发模型是否全部编辑/刷新?
Is this possible at all? Or, is the Dart development model all Edit/Refresh?
Cheers
Andy
Cheers Andy
推荐答案
Dartium中的Chrome开发工具现在可以非常好地执行此操作。
Chrome Dev tools in Dartium will now let you do this very nicely.
这篇关于是否还有使用Dartium在网站上调用Dart REPL?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!