API Referencegraphite
TextFieldChangeEvent
Text field state supplied to a change callback.
Module: graphite
Text field state supplied to a change callback.
Declaration
export type TextFieldChangeEvent = {
/**
* The text.
*/
text: string;
/**
* The cursor position.
*/
cursorPosition: number;
/**
* Whether the text field has keyboard focus.
*/
focused: boolean;
};Properties
text
The text.
text: string;cursorPosition
The cursor position.
cursorPosition: number;focused
Whether the text field has keyboard focus.
focused: boolean;