TreeEditTemplateContext
Specifies the slot context for the <TreeViewEditInput> sub-component.
Props
The following table outlines the props for the TreeEditTemplateContext:
| Name | Type | Default | Description |
|---|---|---|---|
| cancel | ( ) => void | - | Specifies the function that discards the new value. |
| commit | ( ) => void | - | Specifies the function that applies the new value. |
| defaultValue | string | - | Specifies the row's label as it was when the editor opened. |
| setValue | (value: string) => void | - | Specifies the function that updates the mirrored value. |
| value | string | - | Specifies the current input value. |