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

Method componentDidLoad

core/src/components/router/router.tsx:86–89  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

84 }
85
86 componentDidLoad() {
87 window.addEventListener('ionRouteRedirectChanged', debounce(this.onRedirectChanged.bind(this), 10));
88 window.addEventListener('ionRouteDataChanged', debounce(this.onRoutesChanged.bind(this), 100));
89 }
90
91 @Listen('popstate', { target: 'window' })
92 protected async onPopState() {

Callers

nothing calls this directly

Calls 2

debounceFunction · 0.90
addEventListenerMethod · 0.65

Tested by

no test coverage detected