src/lib/directives/sz-element-resize-observer.directive.ts
Directive to listening to resize events on individual elements. Utilizes the ResizeObserver[https://developer.mozilla.org/en-US/docs/Web/API/ResizeObserver] api
Example :
AfterViewInit
OnChanges
OnDestroy
Selector | [onResize] |
constructor(elementRef: ElementRef, elementResizeService: SzElementResizeService)
|
|||||||||
Parameters :
|
onResize |
Type : EventEmitter
|
event emitter for resize event |