Type Alias: SingleVariantPropBindings<T>
ts
type SingleVariantPropBindings<T> = {
modelValue: T | null | undefined;
onUpdate:model-value: (value: T | null | undefined) => void;
onUpdate:modelValue: (value: T | null | undefined) => void;
};Prop bindings passed to the single-variant slot for adding individual items. These props provide v-model functionality to the slot content, allowing it to manage the temporary state of a new item being added.
Type Parameters
| Type Parameter | Default type |
|---|---|
T | any |
Properties
| Property | Type |
|---|---|
modelValue | T | null | undefined |
onUpdate:model-value | (value: T | null | undefined) => void |
onUpdate:modelValue | (value: T | null | undefined) => void |