import { OnInit, ElementRef } from '@angular/core'; import { CfCoreComponent } from '../core/core.component'; import { ImageModel } from '../../models/image/image.model'; import { ImageStylingModel } from '../../models/image/image-styling.model'; import { TemplateService } from '../../services/template-service/template.service'; /** *

CF Image Component

*
 * 
 * import {{'{'}} ImageModel {{'}'}} from 'cedrus-fusion'
 * import {{'{'}} ImageStylingModel {{'}'}} from 'cedrus-fusion'
 * <cf-image></cf-image>
 * 
 * 
*/ export declare class CfImageComponent extends CfCoreComponent implements OnInit { /**@hidden */ elementRef: ElementRef; /**@hidden */ notificationClickable: string; /** *
{{'{'}}
       *  display: boolean,      // Default: frue.
       *  disable: boolean,      // Default: false.
     *  label: string,         // Empty string by default.
       *  labelPosition: string, // Default: bottom.
       *  url: string            // Default: 'https: ....jpg'
       *{{'}'}}
       * 
* *

Example

*
{{'{'}}
       *  display: true,
       *  label: 'Siberian Husky'
     *  labelPosition: 'left',
       *  url: 'https://github.com/Cedrusco/cedrus-fusion-lite/blob/master/src/demo/src/assets/images/siberian-husky.jpg?raw=true'
       *{{'}'}}
       * 
*/ properties: ImageModel; /** *

dynamicClass: function() -> string, // Function that returns name of the class

*

class: string // Name of the css class selector

*

themeColor: string // primary/accent/warn

*
        *{{'{'}}
        *	// Container surrounding the Image
        *	container:{{'{'}}
        *		dynamicClass,
        *		class
        *	{{'}'}},
        *	// image styling
        *	image:{{'{'}}
        *		dynamicClass,
        *		class
        *	{{'}'}},
        *	// label styling
        *	label:{{'{'}}
        *		dynamicClass,
        *		class
        *	{{'}'}}
        *{{'}'}}
        * 
*/ styling: ImageStylingModel; /** *

The label of the image

*/ label: string; /** *

The label position of the image. Can be: top, bottom, right, left

*/ labelPosition: string; /** *

The url of the iamge.

*/ url: string; /** @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; /**@hidden */ constructor(/**@hidden */ elementRef: ElementRef, /**@hidden */ templateService: TemplateService); /** @hidden *

Initialize the proerties and styling object with the appropriate values.

*/ ngOnInit(): void; }