src/lib/dropdown/dropdown-item.inteface.ts
divider |
divider: |
Type : boolean
|
Indica si el item es un divisor |
handler |
handler: |
Type : Function
|
Callback a ejecutar cuando se selecciona el item |
icon |
icon: |
Type : string
|
Clase css del ícono |
label |
label: |
Type : string
|
Label del item |
prefix |
prefix: |
Type : string
|
Clase prefix del ícono |
route |
route: |
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;
}