Skip to content

PickerListMonths

A component displaying a list of months helping to set the days of the month on the calendar.

Props

datepreview
required
Current auxiliary date
type:Dayjs

Events

set-month
Set a month

Example

List of months
Jan
Feb
Mar
Apr
May
Jun
Jul
Aug
Sep
Oct
Nov
Dec
html
<picker-list-months :datepreview="state.previewDay" />
ts
import dayjs from 'dayjs'
const state = {
  previewDay: dayjs('2023-03-09')
}