ion-tab
The tab component is a child component of
Note: This component should only be used with vanilla or Stencil JavaScript projects. For Angular, React, and Vue apps you do not need to use
ion-tabto declare your tab components.
See the
Properties
component | |
|---|---|
| Description | The component to display inside of the tab. |
| Attribute | component |
| Type | Function | HTMLElement | null | string | undefined |
tab | |
| Description | A tab id must be provided for each |
| Attribute | tab |
| Type | string |
Methods
setActive | |
|---|---|
| Description | Set the active component for the tab |
| Signature | setActive() => Promise<void> |

