Whether the dialog is allowed to close.
(result?: R)
| 145 | |
| 146 | /** Whether the dialog is allowed to close. */ |
| 147 | private _canClose(result?: R): boolean { |
| 148 | const config = this.config as DialogConfig<unknown, unknown, DialogContainer>; |
| 149 | |
| 150 | return ( |
| 151 | !!this.containerInstance && |
| 152 | (!config.closePredicate || config.closePredicate(result, config, this.componentInstance)) |
| 153 | ); |
| 154 | } |
| 155 | } |
no outgoing calls
no test coverage detected