StopPropagationDirective class

A directive that prevents button trigger events from propagating.

Events will trigger on the target component but will be prevented from bubbling up to parent elements. https://www.w3.org/TR/DOM-Level-2-Events/events.html#Events-flow-bubbling

Annotations
  • @Directive(selector: '[stopPropagation]')

Properties

hashCode int
The hash code for this object.
no setterinherited
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.
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