BlogPlaygroundOne

VDatePickerMonths API


Props
name
type
default
number[] | ((date: number) => boolean)
undefined

Restricts which months can be selected.

string
undefined

Applies specified color to the control - supports utility colors with or without text- prefix (for example success, purple or text-purple) or CSS color (#033 or rgba(255, 0, 0, 0.5)). Find a list of built-in classes on the colors page.

string | number
undefined

Sets the height for the component.

unknown
undefined

Sets the maximum selectable date. Months after this date will be disabled.

unknown
undefined

Sets the minimum selectable date. Months before this date will be disabled.

number
undefined

The v-model value of the component. If component supports the multiple prop, this defaults to an empty array.

number
undefined

Sets the year for the given months.

Events
name
type
[any]

Event that is emitted when the component’s model changes.

Slots
{ month: { text: string; value: number } i: number props: { onClick: () => void } }

Slot for the month.