()
| 522 | } |
| 523 | |
| 524 | componentDidLoad() { |
| 525 | /** |
| 526 | * If modal was rendered with isOpen="true" |
| 527 | * then we should open modal immediately. |
| 528 | */ |
| 529 | if (this.isOpen === true) { |
| 530 | raf(() => this.present()); |
| 531 | } |
| 532 | this.breakpointsChanged(this.breakpoints); |
| 533 | |
| 534 | /** |
| 535 | * When binding values in frameworks such as Angular |
| 536 | * it is possible for the value to be set after the Web Component |
| 537 | * initializes but before the value watcher is set up in Stencil. |
| 538 | * As a result, the watcher callback may not be fired. |
| 539 | * We work around this by manually calling the watcher |
| 540 | * callback when the component has loaded and the watcher |
| 541 | * is configured. |
| 542 | */ |
| 543 | this.triggerChanged(); |
| 544 | } |
| 545 | |
| 546 | /** |
| 547 | * Determines whether or not an overlay |
nothing calls this directly
no test coverage detected