Skip to content

Calendar

<ns-calendar>

Overview

Calendar shows the dates of a month or year.

Examples

Guidance

Implementation

Placement

Specification

Attributes

disabled-dates

Property
disabledDates
Description
The dates that are disabled.
Type
Array

enabled-dates

Property
enabledDates
Description
The dates that are enabled.
Type
Array

min-date

Property
minDate
Description
The minimum date of the calendar.
Type
string

max-date

Property
maxDate
Description
The maximum date of the calendar.
Type
string

iso-selected-date

Property
isoSelectedDate
Description
The selected date of the calendar.
Type
string

month

Property
month
Description
The month of the calendar.
Type
number

year

Property
year
Description
The year of the calendar.
Type
number

type

Property
type
Type
string
Default
standard

Events

NameDescription
changeThe event fired when the calendar value changes. Returns the selected date.