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

Method connectedCallback

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

Source from the content-addressed store, hash-verified

360 }
361
362 connectedCallback() {
363 prepareOverlay(this.el);
364 this.triggerChanged();
365 /**
366 * If the alert was previously connected and is being reattached, the
367 * ResizeObserver was disconnected. componentDidLoad only fires once per
368 * instance, so re-establish the observer here on reconnect.
369 */
370 this.setupButtonGroupResizeObserver();
371 }
372
373 componentWillLoad() {
374 if (!this.htmlAttributes?.id) {

Callers

nothing calls this directly

Calls 3

triggerChangedMethod · 0.95
prepareOverlayFunction · 0.90

Tested by

no test coverage detected