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

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: { theme: any; classes: any; }; /** *

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 c * omponent with json object generated by NotificationModel (described in cfNotification above). */ settings: NotificationModel; /** @hidden */ constructor(elementRef: ElementRef, /**@hidden */ templateService: TemplateService); /** @hidden */ ngOnInit(): void; }