@unicef-polymer/etools-unicef
Version:
eTools UNICEF library of reusable components
40 lines (39 loc) • 1.27 kB
TypeScript
import { LitElement } from 'lit';
import '@shoelace-style/shoelace/dist/components/textarea/textarea.js';
import SlTextarea from '@shoelace-style/shoelace/dist/components/textarea/textarea.component.js';
import '../etools-info-tooltip/info-icon-tooltip';
export declare class EtoolsTextarea extends LitElement {
label: string;
pattern: string;
placeholder: string;
value: string | null;
required: boolean;
readonly: boolean;
disabled: boolean;
language: string;
errorMessage: string;
infoIconMessage: string;
charCounter: boolean;
charCount: number;
rows: number;
maxRows: number | undefined;
maxlength: number;
resize: string;
invalid: boolean;
alwaysFloatLabel: boolean;
autoValidate: boolean;
_autoValidate: boolean;
slTextarea: SlTextarea;
focused: boolean;
static get styles(): import("lit").CSSResult[];
render(): import("lit-html").TemplateResult<1>;
constructor();
connectedCallback(): void;
disconnectedCallback(): void;
handleLanguageChange(e: any): void;
getInfoIconTemplate(): import("lit-html").TemplateResult<1>;
protected updated(_changedProperties: any): void;
setMaxHeight(): void;
validate(): boolean;
focus(): void;
}