EscapeCancelsDirective class

If attached to the yes-no buttons it will listen for escape keyup event and trigger no action on it.

Inheritance
Annotations
  • @Directive(selector: 'material-yes-no-buttons[escCancels]', visibility: Visibility.all)

Constructors

EscapeCancelsDirective(MaterialYesNoButtonsComponent _yesNo, Element element, @Optional() KeyUpBoundaryDirective? boundary)

Properties

hashCode int
The hash code for this object.
no setterinherited
noButton MaterialButtonComponent?
no setter
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

ngOnDestroy() → void
Executed before the directive is removed from the DOM and destroyed.
inherited
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited