Advertisement
Guest User

Untitled

a guest
Jul 22nd, 2017
53
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.29 KB | None | 0 0
  1. import 'package:angular/angular.dart';
  2.  
  3. import 'my_button_directive.dart';
  4.  
  5. @Directive(selector: '[illegal-button]')
  6. class IllegalButtonDirective extends MyButtonDirective {
  7. @Input('notEnabled') // This causes a compile error.
  8. set disabled(bool value) {
  9. super.disabled = value;
  10. }
  11. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement