Typed event contract for ValueChangedEvent; fields below describe the payload.
interface ValueChangedEvent<T = EditorValue> {
value: T
previousValue: T
event: Event
}| Field | Meaning |
|---|---|
| value | Current input/option value. |
| previousValue | Value before the change. |
| event | Original input/mouse event. |
import type { ValueChangedEvent } from '@tekocloud.de/tecexpress'
const example: ValueChangedEvent<string> = { value: 'New', previousValue: 'Old', event: new Event('input') }
console.log(example)