@public-ui/components
Version:
Contains all web components that belong to KoliBri - The accessible HTML-Standard.
19 lines (18 loc) • 1.04 kB
TypeScript
import type { CSSResize, HasCounterPropType, RowsPropType, SpellCheckPropType, TextareaProps, TextareaWatches } from '../../schema';
import { InputIconController } from '../@deprecated/input/controller-icon';
import type { Generic } from 'adopted-style-sheets';
export declare class TextareaController extends InputIconController implements TextareaWatches {
protected readonly component: Generic.Element.Component & TextareaProps;
constructor(component: Generic.Element.Component & TextareaProps, name: string, host?: HTMLElement);
private afterSyncCharCounter;
validateHasCounter(value?: HasCounterPropType): void;
validateMaxLength(value?: number): void;
validatePlaceholder(value?: string): void;
validateReadOnly(value?: boolean): void;
validateResize(value?: CSSResize): void;
validateRequired(value?: boolean): void;
validateRows(value?: RowsPropType): void;
validateSpellCheck(value?: SpellCheckPropType): void;
validateValue(value?: string): void;
componentWillLoad(): void;
}