Skip to content

Instantly share code, notes, and snippets.

@leonsenft
Last active August 7, 2017 23:32
Show Gist options
  • Save leonsenft/aa9b4065d7389ba8cdf8b63df4e3c5e8 to your computer and use it in GitHub Desktop.
Save leonsenft/aa9b4065d7389ba8cdf8b63df4e3c5e8 to your computer and use it in GitHub Desktop.
import 'package:angular/angular.dart';
import 'my_button_directive.dart';
@Directive(selector: '[illegal-button]')
class IllegalButtonDirective extends MyButtonDirective {
@Input('notEnabled') // Changing the binding name causes a compile error.
set disabled(bool value) {
super.disabled = value;
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment