MCPcopy Index your code
hub / github.com/ionic-team/ionic-framework / onIsOpenChange

Method onIsOpenChange

core/src/components/loading/loading.tsx:142–148  ·  view source on GitHub ↗
(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

Calls 2

presentMethod · 0.95
dismissMethod · 0.95

Tested by

no test coverage detected