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

Method triggerChanged

core/src/components/alert/alert.tsx:181–186  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

179 @Prop() trigger: string | undefined;
180 @Watch('trigger')
181 triggerChanged() {
182 const { trigger, el, triggerController } = this;
183 if (trigger) {
184 triggerController.addClickListener(el, trigger);
185 }
186 }
187
188 /**
189 * Emitted after the alert has presented.

Callers 2

connectedCallbackMethod · 0.95
componentDidLoadMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected