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

Method getLength

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

Source from the content-addressed store, hash-verified

488 */
489 @Method()
490 async getLength(): Promise<number> {
491 return Promise.resolve(this.views.length);
492 }
493
494 private getActiveSync(): ViewController | undefined {
495 return this.views[this.views.length - 1];

Callers 1

Calls

no outgoing calls

Tested by

no test coverage detected