Method
onIsOpenChange
(newValue: boolean, oldValue: boolean)
Source from the content-addressed store, hash-verified
| 268 | @Prop() isOpen = false; |
| 269 | @Watch('isOpen') |
| 270 | onIsOpenChange(newValue: boolean, oldValue: boolean) { |
| 271 | if (newValue === true && oldValue === false) { |
| 272 | this.present(); |
| 273 | } else if (newValue === false && oldValue === true) { |
| 274 | this.dismiss(); |
| 275 | } |
| 276 | } |
| 277 | |
| 278 | /** |
| 279 | * An ID corresponding to the trigger element that |
Callers
nothing calls this directly
Tested by
no test coverage detected