import { OnInit, ElementRef, EventEmitter } from '@angular/core'; import { CfCoreComponent } from '../core/core.component'; import { InputModel } from '../../models/input/input.model'; import { InputStylingModel } from '../../models/input/input-styling.model'; import { ControlValueAccessor } from '@angular/forms'; /** *
The input is created based on the inputClass (see /models/input).
*Example of using component:
***/ export declare class CfInputComponent extends CfCoreComponent implements OnInit, ControlValueAccessor { elementRef: ElementRef; writeValue(obj: any): void; registerOnChange(fn: any): void; registerOnTouched(fn: any): void; setDisabledState(isDisabled: boolean): void; onChange: any; onTouched: any; notifacationClickable: string; /** * It is Input object which will recive values provided by InputClass Class and after that md-input will be builded on page. */ cfInput: InputModel; private val; /** *<cf-input [settings]="input"></cf-input>*
The properties objject of the input.
*/ properties: InputModel; /** * 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; /** *The styling object of the input.
*/ styling: InputStylingModel; /** *Disable the input.
*/ disable: boolean; /** *Display or hide the input.
*/ display: boolean; /** *Type of the input if text or password.
*/ type: string; /** *The placeholder of the input.
*/ placeholder: string; /** *The hind text under the input.
*/ hintText: string; /** *The value inside the input (double bound).
*/ value: string; /** *The icon name of the input if exists.
*/ iconName: string; /** *The event that will be called when the value is changed.
*/ valueChange: EventEmitter<{}>; constructor(elementRef: ElementRef); ngOnInit(): void; /** *Update the properties object with hte latest inputs on change to keep the component dynaic.
* @param changes */ ngOnChanges(changes: any): void; }