Method
onIsOpenChange
(newValue: boolean, oldValue: boolean)
Source from the content-addressed store, hash-verified
| 165 | @Prop() isOpen = false; |
| 166 | @Watch('isOpen') |
| 167 | onIsOpenChange(newValue: boolean, oldValue: boolean) { |
| 168 | if (newValue === true && oldValue === false) { |
| 169 | this.present(); |
| 170 | } else if (newValue === false && oldValue === true) { |
| 171 | this.dismiss(); |
| 172 | } |
| 173 | } |
| 174 | |
| 175 | /** |
| 176 | * An ID corresponding to the trigger element that |
Callers
nothing calls this directly
Tested by
no test coverage detected