Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- import 'package:angular/angular.dart';
- import 'my_button_directive.dart';
- @Directive(selector: '[illegal-button]')
- class IllegalButtonDirective extends MyButtonDirective {
- @Input('notEnabled') // This causes a compile error.
- set disabled(bool value) {
- super.disabled = value;
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement