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

Method getActiveSync

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

Source from the content-addressed store, hash-verified

492 }
493
494 private getActiveSync(): ViewController | undefined {
495 return this.views[this.views.length - 1];
496 }
497
498 private canGoBackSync(view = this.getActiveSync()): boolean {
499 return !!(view && this.getPreviousSync(view));

Callers 6

setRouteIdMethod · 0.95
getRouteIdMethod · 0.95
getActiveMethod · 0.95
canGoBackSyncMethod · 0.95
getPreviousSyncMethod · 0.95
runTransitionMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected