Created
July 4, 2016 18:39
Getting Started With Google’s Dart Language 3
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import 'dart:html'; | |
void main() { | |
query("#theButton") | |
.onClick.listen( | |
(e) => query("#resultDiv").text = "You clicked the button!" | |
); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment