Skip to content

Instantly share code, notes, and snippets.

@simpleprogrammer-shared
Created July 4, 2016 18:39

Revisions

  1. simpleprogrammer-shared created this gist Jul 4, 2016.
    8 changes: 8 additions & 0 deletions google-dart-language-3
    Original file line number Diff line number Diff line change
    @@ -0,0 +1,8 @@
    import 'dart:html';

    void main() {
    query("#theButton")
    .onClick.listen(
    (e) => query("#resultDiv").text = "You clicked the button!"
    );
    }