import { ElementRef, OnInit } from '@angular/core'; import { NotificationModel } from '../../models/notification'; import { CfCoreComponent } from '../core/core.component'; /** *

Component for Core Component Notifications

*/ export declare class CfNotificationComponent extends CfCoreComponent implements OnInit { elementRef: ElementRef; /** * It is position of notification */ position: string; /** * It is default core styling options form SETTINGS (file: '/assets/settings/notification/settings.ts') *

There are three main properties:

* */ options: { "position": string; "theme": string; "classes": string; }; /** *

It is Object which will recive data from Core Component notification property. It is used in different components templates.

*

Example of NotifcationModel:

*
{
     *  value: this.notificationValue,
     *	type: 'text'
     * }
*

value: any

* It is name of property for notification value. *

type: string

* It is type of notification value. Can be text(default) or icon. Optional. */ cfNotification: NotificationModel; /** * It is [settings] attribute of cf-notification component with json object generated by NotificationModel (described in cfNotification above). */ settings: NotificationModel; constructor(elementRef: ElementRef); /** * It will be generated cfNotification object and rendered inside component template. Also notification position and type will be set. */ ngOnInit(): void; }