0.1.0 • Published 5 years ago

visit-lib-calendar v0.1.0

Weekly downloads
6
License
-
Repository
-
Last release
5 years ago

SharedComponents

Project setup

npm install

Compiles and hot-reloads for development

npm run serve

Compiles and minifies for production

npm run build

Run your tests

npm run test

Lints and fixes files

npm run lint

Import stylesheet as below in EntryComponent of the widget

<style src="visit-library-calendar/dist/Calendar.css" ></style> 

Properties supported

booking : A boolean property accepting "true" / "false"

selectedDate : Set the date here the calendar will show that date e.g "2019-11-01"

avialableDays : An array of days that will be marked on the calendar that are available with respect to a product

bookedDays : An array of days that will be marked on the calendar that are booked with respect to a product