Constructor
# <Calendar baseId displayBox />
Display Calendar
PropTypes:
Name | Type | Required | Description | Default |
---|---|---|---|---|
baseId |
string | Yes | ||
displayBox |
bool | No |
Parameters:
Name | Type | Description |
---|---|---|
props.baseId |
string
|
use to create calendar modal id |
props.displayBox |
boolean
|
true : element is diplayed |
Dialog component
object
Methods
# inner displaySelectedDay(e)
Displays the selected date on the calendar
Parameters:
Name | Type | Default | Description |
---|---|---|---|
e |
object
|
false | event |
# inner showCorrespondingWeekday(weekdayNumber, highlight)
Highlights the day of the week corresponding to the hovered day of the month
Parameters:
Name | Type | Default | Description |
---|---|---|---|
weekdayNumber |
number
|
||
highlight |
boolean
|
true |