Creates the WatchHeightDirective
the reference to the host element
used to listen to the resize event
the reference to the host element
used to listen to the resize event
Event emitter output. Emits the pixle hieght of the WatchHeightDirective's height.
Holds the subscription for the events's resize Observable.
Subscribes to the GlobalEventsService's window resize EventEmitter
.
An Angular 2 lifecyle hook called once, after Angular initializes the host component's views and child views.
Unsubscribes from the resizeSubscription to prevent memory leaks.
An Angular 2 lifecyle hook called once, after the first ngOnChanges.
Emits the height of the host element via the heightChange @Output
.
Generated using TypeDoc
Emits the host's height
OnInit
and when the window resizes.