Method
onIsOpenChange
(newValue: boolean, oldValue: boolean)
Source from the content-addressed store, hash-verified
| 140 | @Prop() isOpen = false; |
| 141 | @Watch('isOpen') |
| 142 | onIsOpenChange(newValue: boolean, oldValue: boolean) { |
| 143 | if (newValue === true && oldValue === false) { |
| 144 | this.present(); |
| 145 | } else if (newValue === false && oldValue === true) { |
| 146 | this.dismiss(); |
| 147 | } |
| 148 | } |
| 149 | |
| 150 | /** |
| 151 | * An ID corresponding to the trigger element that |
Callers
nothing calls this directly
Tested by
no test coverage detected