TextChangeEvent
A change event carrying text, a TextField's text as the user changed it.
Usage
Share a text-event handler between low-level native integrations.
// Share a text-event handler between low-level native integrations.
import { signal, type TextChangeEvent } from 'kuito';
export const query = signal('');
export function receiveText(event: TextChangeEvent) {
query.value = event.text;
}
// TextField's onChange receives the string directly, not this event object.Type declaration
export interface TextChangeEvent extends KuitoEvent<'change'>, TextPayload {}Members 4
| Name | Type | Required | Description |
|---|---|---|---|
type | "change" | Yes | — |
target | unknown | Yes | — |
isTrusted | boolean | Yes | — |
text | string | Yes | — |
Generated from the public TypeScript declarations: signatures, props and defaults come from the checked source, descriptions from its JSDoc. No defaults are invented.