ui-lit
Version:
UI Elements on LIT
29 lines (28 loc) • 1.13 kB
TypeScript
import { LitElement } from 'lit';
import { FormAssociatedElement } from '../mixins/form-associated/interface';
export interface ITextareaProps extends FormAssociatedElement {
placeholder?: string;
}
declare type TResize = "none" | "both" | "horizontal" | "vertical" | "block" | "inline";
declare const LitTextarea_base: (new (...args: any[]) => import("../mixins/focusable/inderface").Focusable & LitElement) & (new (...args: any[]) => import("../mixins/labled/inderface").ILabled) & (new (...args: any[]) => FormAssociatedElement) & (new (...args: any[]) => FormAssociatedElement) & typeof LitElement;
export declare class LitTextarea extends LitTextarea_base {
static get styles(): any;
static get properties(): {
value: {
type: StringConstructor;
};
};
placeholder: string;
resize: TResize;
_value: string;
get value(): string;
set value(data: string);
render(): import("lit").TemplateResult<1>;
private _onInput;
}
declare global {
interface HTMLElementTagNameMap {
'lit-textarea': LitTextarea;
}
}
export {};