File

src/lib/dropdown/dropdown-item.inteface.ts

Properties

divider
divider: boolean
Type : boolean

Indica si el item es un divisor

handler
handler: Function
Type : Function

Callback a ejecutar cuando se selecciona el item

icon
icon: string
Type : string

Clase css del ícono

label
label: string
Type : string

Label del item

prefix
prefix: string
Type : string

Clase prefix del ícono

route
route: string
Type : string

Ruta opción para Angular Router

export interface DropdownItem {
    /**
     * Label del item
     *
     * @type {string}
     * @memberOf DropdownItem
     */
    label?: string;
    /**
     * Clase css del ícono
     *
     * @type {string}
     * @memberOf DropdownItem
     */
    icon?: string;
    /**
     * Clase prefix del ícono
     *
     * @type {string}
     * @memberOf DropdownItem
     */
    prefix?: string;
    /**
     * Ruta opción para Angular Router
     *
     * @type {string}
     * @memberOf DropdownItem
     */
    route?: string;
    /**
     * Callback a ejecutar cuando se selecciona el item
     *
     * @type {Function}
     * @memberOf DropdownItem
     */
    handler?: Function;
    /**
     * Indica si el item es un divisor
     *
     * @type {boolean}
     * @memberOf DropdownItem
     */
    divider?: boolean;
}

results matching ""

    No results matching ""