import { ElementRef, OnInit, EventEmitter } from '@angular/core'; import { FabModel } from '../../models/fab/fab.model'; import { CfCoreComponent } from '../core/core.component'; export declare class CfFabComponent extends CfCoreComponent implements OnInit { elementRef: ElementRef; /** * It is property to attach notification class when component has notifications actions. */ notifacationClickable: string; /** *
It is Object which will recive data from FabModel Class. It is used in cf-fab template.
*Example:
*{
* direction: "down",
* showButtons: true,
* stayOpened: true,
* triggerButton: { icon: {name: 'fa-gear'} },
* actionButtons: [
* { icon: {name:"fa-apple"}, display: this.shown },
* { icon: {name:"fa-star"}, label: "Item", labelPosition: "left" },
* { icon: {name:"fa-home"}, disabled: this.disabled }
* ]
* }
* It is function to send event with Fab trigger button object when it was clciked.
*Example of event object:
* @param item it is trigger button object */ coreTriggerEvent(fab: Object): void; /** *It is function to send event with Fab action button object when it was clciked.
*Example of event object:
* @param index it is index of action button * @param item it is action button object */ coreActionEvent(fab: Object): void; constructor(elementRef: ElementRef); /** * It will be generated cfFab object and rendered inside component template. */ ngOnInit(): void; }