'daff-modal'
Name | Type | Description | |||
---|---|---|---|---|---|
modalClass | true | Sets a class of .daff-modal to the host element. | |||
role | 'dialog' | Sets the role to dialog. | |||
ariaModal | true | Sets aria-modal to true. | |||
ariaLabelledBy | string | The aria-labelledby for the modal. This is set by the id of
DaffModalTitleDirective when it is used. |
|||
@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. | |||
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. |