简体   繁体   English

无论如何在使用Dartium时在网站上调用Dart REPL?

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

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. 我现在知道我无法通过控制台Dart交互,但我希望在Dartium中可能有另一种方法来调用REP。

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. 基本上,我希望能够做的是:1。转到Dartium的网站2.调用某种Dart REPL 3.使用Dart命令而不是Javascript来讨论DOM,CSS等。

Is this possible at all? 这有可能吗? Or, is the Dart development model all Edit/Refresh? 或者,Dart开发模型是否都是编辑/刷新?

Cheers Andy 干杯安迪

Dartium中的Chrome Dev工具现在可以让您非常好地完成此任务。

Dart edit model is Edit/Refresh. Dart编辑模型是编辑/刷新。 Maybe you are looking for something like http://try.dartlang.org/ 也许您正在寻找像http://try.dartlang.org/这样的东西

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM