UNPKG

opal-components

Version:

[Rionite](https://github.com/Riim/Rionite) component set.

31 lines (30 loc) 1.04 kB
import { Cell, IEvent } from 'cellx'; import { Component } from 'rionite'; import './index.css'; export declare class OpalTextInput extends Component { textField: HTMLInputElement; _textFieldValueCell: Cell<string>; _textFieldValue: string; value: string | null; _prevValue: string | null; readonly isControlIconShown: boolean; readonly isBtnClearShown: boolean; _initialHeight: number; ready(): void; elementAttached(): void; _onParamValueChange(evt: IEvent): void; _onParamFocusedChange(evt: IEvent): void; _onTextFieldFocus(evt: Event): void; _onTextFieldBlur(): void; _onTextFieldInput(evt: Event): void; _onTextFieldChange(evt: Event): void; _onTextFieldKeyDown(evt: Event): void; _onTextFieldKeyPress(evt: KeyboardEvent): void; _onTextFieldKeyUp(evt: Event): void; _fixHeight(): void; clear(): OpalTextInput; focus(): OpalTextInput; blur(): OpalTextInput; enable(): OpalTextInput; disable(): OpalTextInput; }