diff --git a/example/web/index.html b/example/web/index.html index ceff973b6..92604d608 100644 --- a/example/web/index.html +++ b/example/web/index.html @@ -10,6 +10,7 @@
  • form.html
  • maps.html
  • paper_radio_group.html
  • +
  • paper_input.html
  • diff --git a/example/web/paper_input.dart b/example/web/paper_input.dart new file mode 100644 index 000000000..18a055879 --- /dev/null +++ b/example/web/paper_input.dart @@ -0,0 +1,20 @@ +import 'package:angular/angular.dart'; +import 'package:angular/application_factory.dart'; + +import 'dart:html'; + +@Decorator( + selector: 'paper-input', + updateBoundElementPropertiesOnEvents: const ['change', 'input'] +) +class PaperInputBindings {} + + +main() { + applicationFactory() + .addModule(new Module() + ..bind(PaperInputBindings)) + // ..bind(PaperRadioGroupBindings) + // ..bind(Cmp)) + .run(); +} diff --git a/example/web/paper_input.html b/example/web/paper_input.html new file mode 100644 index 000000000..5d871c4e5 --- /dev/null +++ b/example/web/paper_input.html @@ -0,0 +1,22 @@ + + + + Paper input example + + + + + + + + + + + + + +