getId()
returns the id of a tab by its index
getId(index: number): string;
Parameters:
index: number
- the position of a tab in the tabbar
Example
const id = tabbar.getId(0);
returns the id of a tab by its index
index: number
- the position of a tab in the tabbarExample
const id = tabbar.getId(0);