hostDirective property

CompileDirectiveMetadata? hostDirective
final

An optional directive class.

This is only set with this EventHandler corresponds to a "HostListener" on the specified Directive.

Otherwise, it is assumed that the context of the event handler is the default Component currently being compiled.

Implementation

final CompileDirectiveMetadata? hostDirective;