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

Method getTab

core/src/components/tabs/tabs.tsx:121–123  ·  view source on GitHub ↗
(tab: string | HTMLIonTabElement)

Source from the content-addressed store, hash-verified

119 */
120 @Method()
121 async getTab(tab: string | HTMLIonTabElement): Promise<HTMLIonTabElement | undefined> {
122 return getTab(this.tabs, tab);
123 }
124
125 /**
126 * Get the currently selected tab. This method is only available for vanilla JavaScript projects. The Angular, React, and Vue implementations of tabs are coupled to each framework's router.

Callers

nothing calls this directly

Calls 1

getTabFunction · 0.85

Tested by

no test coverage detected