Skip to content

Instantly share code, notes, and snippets.

@simpleprogrammer-shared
Created July 4, 2016 18:39
Getting Started With Google’s Dart Language 3
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