Stores information about the label of a tab in tab view.

See TabContent#label for more information.

interface TabLabel {
    count?: ReplaySubject<number>;
    icon?: string;
    text?: string;
}

Properties

Properties

count?: ReplaySubject<number>

Tab count is displayed in it's label, ich stream is provided

icon?: string

Material design icon name.

See [material website]https://material.io/resources/icons for supported icon list.

text?: string

Tab name that is displayed in it's label.

The text is passed trough the translate pipe. If you want the tab label to be translated simply pass the translation key as value.