import { OnInit, EventEmitter, ElementRef } from '@angular/core'; import { CfCoreComponent } from '../core/core.component'; import { MenuItemModel } from '../../models/menu/menu-item.model'; import { MenuItemStylingModel } from '../../models/menu/menu-item-styling.model'; import { TemplateService } from '../../services/template-service/template.service'; /** *

CF Menu Item Component

*
 * 
 * import {{'{'}} MenuItemModel {{'}'}} from 'cedrus-fusion'
 * import {{'{'}} MenuItemStylingModel {{'}'}} from 'cedrus-fusion'
 * <cf-menu-item></cf-menu-item>
 * 
 * 
*/ export declare class CfMenuItemComponent extends CfCoreComponent implements OnInit { elementRef: ElementRef; /**@hidden*/ notificationClickable: string; /**@hidden*/ itemTemplate: any; /** *
{{'{'}}
     *  display: boolean,							// True or False Default: True
     *  disable: boolean,							// True or False Default: False
     *  buttonProperty: ButtonModel,	// ButtonModel object
     *  divider: boolean,							// If to show divider line under the menu item
     *{{'}'}}
     * 
*

Example

*
{{'{'}}
     *	display: true,
     *	disable: false,
     *  buttonProperty:{{'{'}}
     *  	label: "USD account",
     *    iconProperty:{{'{'}}
     *      name: 'fa-usd',
     *      size: '24px'
     *    {{'}'}},
     *    iconPosition:"left"
     *   {{'}'}}
     *  {{'}'}},
     *  divider: true
     *{{'}'}}
     * 
*/ properties: MenuItemModel; /** *
     *	menuItemStyling:{{'{'}}
     *   //Check Button Component
     *   buttonStyling: ButtonStylingModel
     * {{'}'}}
     *{{'}'}}
     * 
*/ styling: MenuItemStylingModel; /** * The label for the item */ label: string; /** * The name of the icon */ iconName: string; /** * The size of the icon */ iconSize: string; /** * If to show menu item divider */ divider: boolean; /** * Emit event on menu item click with item object */ onClick: EventEmitter<{}>; /**@hidden*/ buttonClick(): void; /**@hidden*/ constructor(elementRef: ElementRef, /**@hidden */ templateService: TemplateService); /** * It is function for creating Notification click events by using Core Component notificationAction event emmiter. * @param notification it is json notification object */ cfNotificationAction(notification: any): void; /**@hidden*/ ngOnInit(): void; }