Created
July 4, 2016 18:39
-
-
Save simpleprogrammer-shared/eed4ec6b2bd3e393d7213b4e8767887c to your computer and use it in GitHub Desktop.
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