'daff-modal'
Name | Type | Description | |||
---|---|---|---|---|---|
modalClass | true | HostBinding to set the default modal class on the host element. | |||
@Input() open | false | Dictates whether or not a modal is open or closed. | animationCompleted | EventEmitter<any> | Event fired when the close animation is completed. |
closedAnimationCompleted | EventEmitter<any> | Event fired when the close animation is completed. | |||
hide | EventEmitter<void> | Event fired when the backdrop is clicked. This is often used to close the modal. | |||
ngAfterContentInit | |||||
ngAfterViewInit | |||||
attachContent | any | Helper method to attach portable content to modal. | |||
fadeState | string | Animation hook that controls the entrance and exit animations of the modal. | |||
animationDone | Animation event that can used to hook into when animations are fully completed. We use this in the DaffModalService to determine when to actually remove the dynamically rendered element from the DOM so that the animation does not clip as the element is removed. |