UNPKG

@public-ui/components

Version:

Contains all web components that belong to KoliBri - The accessible HTML-Standard.

70 lines (69 loc) 2.92 kB
import type { JSX } from '../../stencil-public-runtime'; import type { AdjustHeightPropType, CSSResize, FocusableElement, HasCounterPropType, HideMsgPropType, IconsHorizontalPropType, IdPropType, InputTypeOnDefault, LabelWithExpertSlotPropType, MsgPropType, NamePropType, RowsPropType, ShortKeyPropType, SpellCheckPropType, Stringified, SyncValueBySelectorPropType, TextareaAPI, TextareaStates, TooltipAlignPropType } from '../../schema'; export declare class KolTextarea implements TextareaAPI, FocusableElement { private readonly host?; private textareaRef?; private readonly catchRef; getValue(): Promise<string | undefined>; kolFocus(): Promise<void>; private getFormFieldProps; private getTextAreaProps; render(): JSX.Element; private readonly controller; _accessKey?: string; _adjustHeight?: boolean; _disabled?: boolean; _hasCounter?: boolean; _hideMsg?: boolean; _hideLabel?: boolean; _hint?: string; _icons?: IconsHorizontalPropType; _id?: IdPropType; _label: LabelWithExpertSlotPropType; _maxLength?: number; _msg?: Stringified<MsgPropType>; _name?: NamePropType; _on?: InputTypeOnDefault; _placeholder?: string; _readOnly?: boolean; _resize?: CSSResize; _required?: boolean; _rows?: RowsPropType; _shortKey?: ShortKeyPropType; _spellCheck?: SpellCheckPropType; _syncValueBySelector?: SyncValueBySelectorPropType; _tooltipAlign?: TooltipAlignPropType; _touched?: boolean; _value?: string; state: TextareaStates; private inputHasFocus; constructor(); private showAsAlert; validateAccessKey(value?: string): void; validateAdjustHeight(value?: AdjustHeightPropType): void; validateDisabled(value?: boolean): void; validateHasCounter(value?: HasCounterPropType): void; validateHideMsg(value?: HideMsgPropType): void; validateHideLabel(value?: boolean): void; validateHint(value?: string): void; validateIcons(value?: IconsHorizontalPropType): void; validateId(value?: string): void; validateLabel(value?: LabelWithExpertSlotPropType): void; validateMaxLength(value?: number): void; validateMsg(value?: Stringified<MsgPropType>): void; validateName(value?: string): void; validateOn(value?: InputTypeOnDefault): void; validatePlaceholder(value?: string): void; validateReadOnly(value?: boolean): void; validateResize(value?: CSSResize): void; validateRequired(value?: boolean): void; validateRows(value?: RowsPropType): void; validateShortKey(value?: ShortKeyPropType): void; validateSpellCheck(value?: SpellCheckPropType): void; validateSyncValueBySelector(value?: SyncValueBySelectorPropType): void; validateTouched(value?: boolean): void; validateValue(value?: string): void; componentDidLoad(): void; componentWillLoad(): void; private readonly onInput; }