UNPKG

@syncfusion/ej2-angular-inputs

Version:

A package of Essential JS 2 input components such as Textbox, Color-picker, Masked-textbox, Numeric-textbox, Slider, Upload, and Form-validator that is used to get input from the users. for Angular

67 lines (66 loc) 3.23 kB
import { ElementRef, ViewContainerRef, Renderer2, Injector, ChangeDetectorRef } from '@angular/core'; import { IComponentBase } from '@syncfusion/ej2-angular-base'; import { TextArea } from '@syncfusion/ej2-inputs'; import * as i0 from "@angular/core"; export declare const inputs: string[]; export declare const outputs: string[]; export declare const twoWays: string[]; /** * Represents the EJ2 Angular TextArea Component. * ```html * <ejs-textarea [value]='value'></ejs-textarea> * ``` */ export declare class TextAreaComponent extends TextArea implements IComponentBase { private ngEle; private srenderer; private viewContainerRef; private injector; private cdr; formCompContext: any; formContext: any; tagObjects: any; blur: any; change: any; created: any; destroyed: any; focus: any; input: any; valueChange: any; /** * Specifies the HTML template to prepend inside the TextArea wrapper. * Accepts an HTML string or a function returning an HTML string. * Updates dynamically when the property value changes. * @default null * @angulartype string | object * @reacttype string | function | JSX.Element * @vuetype string | function * @asptype string */ prependTemplate: any; /** * Specifies the HTML template to append inside the TextArea wrapper. * Accepts an HTML string or a function returning an HTML string. * Updates dynamically when the property value changes. * @default null * @angulartype string | object * @reacttype string | function | JSX.Element * @vuetype string | function * @asptype string */ appendTemplate: any; private skipFromEvent; constructor(ngEle: ElementRef, srenderer: Renderer2, viewContainerRef: ViewContainerRef, injector: Injector, cdr: ChangeDetectorRef); registerOnChange(registerFunction: (_: any) => void): void; registerOnTouched(registerFunction: () => void): void; writeValue(value: any): void; setDisabledState(disabled: boolean): void; ngOnInit(): void; ngAfterViewInit(): void; ngOnDestroy(): void; ngAfterContentChecked(): void; registerEvents: (eventList: string[]) => void; addTwoWay: (propList: string[]) => void; static ɵfac: i0.ɵɵFactoryDeclaration<TextAreaComponent, never>; static ɵcmp: i0.ɵɵComponentDeclaration<TextAreaComponent, "ejs-textarea", never, { "adornmentFlow": "adornmentFlow"; "adornmentOrientation": "adornmentOrientation"; "appendTemplate": "appendTemplate"; "cols": "cols"; "cssClass": "cssClass"; "enablePersistence": "enablePersistence"; "enableRtl": "enableRtl"; "enabled": "enabled"; "floatLabelType": "floatLabelType"; "htmlAttributes": "htmlAttributes"; "locale": "locale"; "maxLength": "maxLength"; "placeholder": "placeholder"; "prependTemplate": "prependTemplate"; "readonly": "readonly"; "resizeMode": "resizeMode"; "rows": "rows"; "showClearButton": "showClearButton"; "value": "value"; "width": "width"; }, { "blur": "blur"; "change": "change"; "created": "created"; "destroyed": "destroyed"; "focus": "focus"; "input": "input"; "valueChange": "valueChange"; }, ["prependTemplate", "appendTemplate"], never>; }