import { OnInit, ElementRef, EventEmitter } from '@angular/core'; import { CfCoreComponent } from '../core/core.component'; import { ButtonMenuModel } from '../../models/button-menu/button-menu.model'; import { ButtonMenuStylingModel } from '../../models/button-menu/button-menu-styling.model'; import { TemplateService } from '../../services/template-service/template.service'; /** *
CF Button-Menu Component
***/ export declare class CfButtonMenuComponent extends CfCoreComponent implements OnInit { /**@hidden */ elementRef: ElementRef; /**@hidden */ notificationClickable: string; /**@hidden ** import {{'{'}} ButtonMenuModel {{'}'}} from 'cedrus-fusion' * import {{'{'}} ButtonMenuStylingModel {{'}'}} from 'cedrus-fusion' * <cf-button-menu></cf-button-menu> **
The type of the needed button.
*Type can be: mat-button, mat-raised-button.
*/ buttonType: string; /** *{{'{'}}
* display: boolean, // Default: True
* disable: boolean, // Default: False
* buttonProperty: ButtonModel,
* menuProperty: MenuModel
* {{'}'}}
*
*/
properties: ButtonMenuModel;
/**
* {{'{'}}
* // styling of the container surrounding the button-menu
* container: {{'{'}}
* dynamic class: function() -> string, //function that returns a string of the name of the class
* class: string //name of the class specified in you scss/css file
* {{'}'}},
* buttonStyling: {{'{'}} buttonStylingModel {{'}'}}, // Refer to button component
* menuStyling: {{'{'}} MenuStylingModel {{'}'}}, // Refer to menu component
*{{'}'}}
*
*/
styling: ButtonMenuStylingModel;
/**
* Event emitted when the button is clicked (left part of button).
*/ onClick: EventEmitter<{}>; /**@hidden */ notificationAction: any; /**@hidden */ constructor(/**@hidden */ elementRef: ElementRef, /**@hidden */ templateService: TemplateService); /**@hidden *On initialization:
*Check to see if any of the angular material button types are needed to be passed to the child button.
*Types are: md-button, md-raised-button.
*Then initialize the button element.
*/ ngOnInit(): void; /** @hidden *The method will emit event when the button is clicked
*/ buttonClicked(): void; /**@hidden * 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; }