Optional
_backdropCmptRef: ComponentRef<NgbModalBackdrop>Optional
_beforeDismiss: (() => boolean | Promise<boolean>)The observable that emits when the modal is closed via the .close()
method.
It will emit the result passed to the .close()
method.
The observable that emits when the modal is dismissed via the .dismiss()
method.
It will emit the reason passed to the .dismissed()
method by the user, or one of the internal
reasons like backdrop click or ESC key press.
The observable that emits when both modal window and backdrop are closed and animations were finished. At this point modal and backdrop elements will be removed from the DOM tree.
This observable will be completed after emitting.
The observable that emits when modal is fully visible and animation was finished. Modal DOM element is always available synchronously after calling 'modal.open()' service.
This observable will be completed after emitting. It will not emit, if modal is closed before open animation is finished.
The promise that is resolved when the modal is closed and rejected when the modal is dismissed.