@public-ui/components
Version:
Contains all web components that belong to KoliBri - The accessible HTML-Standard.
18 lines (17 loc) • 1.06 kB
TypeScript
import type { InputNumberProps, InputNumberWatches, InputTypeOnOff, NumberString, SuggestionsPropType } from '../../schema';
import { InputIconController } from '../@deprecated/input/controller-icon';
import type { Generic } from 'adopted-style-sheets';
export declare class InputNumberController extends InputIconController implements InputNumberWatches {
protected readonly component: Generic.Element.Component & InputNumberProps;
constructor(component: Generic.Element.Component & InputNumberProps, name: string, host?: HTMLElement);
validateAutoComplete(value?: InputTypeOnOff): void;
validateSuggestions(value?: SuggestionsPropType): void;
validateMax(value?: number | NumberString): void;
validateMin(value?: number | NumberString): void;
validatePlaceholder(value?: string): void;
validateReadOnly(value?: boolean): void;
validateRequired(value?: boolean): void;
validateStep(value?: number | NumberString): void;
validateValue(value?: number | NumberString | null): void;
componentWillLoad(): void;
}