MCPcopy Create free account
hub / github.com/ionic-team/ionic-framework / componentDidLoad

Method componentDidLoad

core/src/components/nav/nav.tsx:129–143  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

127 }
128
129 async componentDidLoad() {
130 // We want to set this flag before any watch callbacks are manually called
131 this.didLoad = true;
132
133 this.rootChanged();
134
135 this.gesture = (await import('../../utils/gesture/swipe-back')).createSwipeBackGesture(
136 this.el,
137 this.canStart.bind(this),
138 this.onStart.bind(this),
139 this.onMove.bind(this),
140 this.onEnd.bind(this)
141 );
142 this.swipeGestureChanged();
143 }
144
145 connectedCallback() {
146 this.destroyed = false;

Callers

nothing calls this directly

Calls 2

rootChangedMethod · 0.95
swipeGestureChangedMethod · 0.95

Tested by

no test coverage detected