Skip to main content

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

var id = tabbar.getId(0);