mithril-materialized
    Preparing search index...

    Interface SidenavItemAttrs

    interface SidenavItemAttrs {
        active?: boolean;
        className?: string;
        disabled?: boolean;
        divider?: boolean;
        href?: string;
        icon?: string;
        onclick?: (e: Event) => void;
        subheader?: boolean;
        text?: string;
    }
    Index

    Properties

    active?: boolean

    Whether this item is active

    className?: string

    Custom class

    disabled?: boolean

    Whether this item is disabled

    divider?: boolean

    Whether this is a divider

    href?: string

    Href for link items

    icon?: string

    Icon name (material icons)

    onclick?: (e: Event) => void

    Click handler

    subheader?: boolean

    Whether this is a subheader

    text?: string

    Text content of the item