@codematic/calendar-wc
v1.2.2
Published
A calendar web component
Downloads
89
Maintainers
Readme
Calendar-wc
A calendar web component widget.
Getting Started
Install package
npm i @codematic/calendar-wc
API Reference
| Props | Type | Description |
| ------------------| -----------| -------------------------------------------------------------------|
| disabled
| boolean
| disable selection of all dates in the calendar |
| elevate
| boolean
| add shadow effect to calendar |
| hide-select-days-footer
| boolean
| hide selected days counter |
| show-date-preview
| boolean
| preview selected dates |
| highlight-dates
| string
| list of date to highlight on the calendar separated by commas. Format "yyyy/mm/dd"
|
| blur-dates
| string
| list of date to blur out on the calendar separated by commas. Format "yyyy/mm/dd"
|
| blur-date-range
| string[]
| list of date range to blur out on the calendar separated by commas. Format "yyyy/mm/dd"
|
| show-old-dates
| boolean
| enable selection of all dates in the past |