Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

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

Tags:

dart

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.

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

like image 462
Andy Burnett Avatar asked Nov 13 '22 11:11

Andy Burnett


1 Answers

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

like image 93
Alan Knight Avatar answered Dec 23 '22 15:12

Alan Knight