mithril-materialized
    Preparing search index...

    Interface TabItem

    interface TabItem {
        className?: string;
        contentClass?: string;
        disabled?: boolean;
        href?: string;
        id?: string;
        target?: AnchorTarget;
        title: string;
        vnode?: Vnode<any, any>;
    }
    Index

    Properties

    className?: string

    CSS class for the tab (li), default .tab.col.s3

    contentClass?: string

    CSS class for the content (li), default .tab.col.s3

    disabled?: boolean

    If the tab should be disabled

    href?: string

    Only used in combination with a set target to make the tab act as a regular hyperlink.

    id?: string

    ID of the tab element. Default the title in lowercase

    target?: AnchorTarget

    By default, Materialize tabs will ignore their default anchor behaviour. To force a tab to behave as a regular hyperlink, just specify the target property of that link.

    title: string

    Title of the tab

    vnode?: Vnode<any, any>

    Vnode to render: may be empty in case of a using the tab as a hyperlink.