import { ButtonModel } from '../button/button.model'; /** * MenuItem Class provide each single menu item for md-menu. It is expanding CfCoreComponent. For now it can be used in GC Mneu and GC Button. *

Example of MenuItemModel:

*
{
 *	buttonProperty: cfButton,
 *	divider: true/false,
 *	notification: '',
 *	onClick: this.myFunction
 * }
*/ export class MenuItemModel { /** *

The configuration model for the button.

*/ buttonProperty: ButtonModel; /** *

Set to true to have a divider under this item.

*/ divider: boolean = false; /** * It is menu item notification. Can mean number of notifications. */ notification: string; /** * It is menu item click event. */ onClick: any; constructor(values: Object = {}) { Object.assign(this, values); } }