@public-ui/components
Version:
Contains all web components that belong to KoliBri - The accessible HTML-Standard.
20 lines (19 loc) • 1.25 kB
TypeScript
import type { HasCounterPropType, MaxLengthBehaviorPropType, PlaceholderPropType, ReadOnlyPropType, RequiredPropType, RowsPropType, SpellCheckPropType, TextareaProps, TextareaResizePropType, 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;
validateMaxLengthBehavior(value?: MaxLengthBehaviorPropType): void;
validateMaxLength(value?: number): void;
validatePlaceholder(value?: PlaceholderPropType): void;
validateReadOnly(value?: ReadOnlyPropType): void;
validateResize(value?: TextareaResizePropType): void;
validateRequired(value?: RequiredPropType): void;
validateRows(value?: RowsPropType): void;
validateSpellCheck(value?: SpellCheckPropType): void;
validateValue(value?: string): void;
componentWillLoad(): void;
}