new ludo.calendar.Calendar(config)
Parameters:
Name | Type | Description | |||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
config |
Object |
Properties
|
- Source:
Fires:
- ludo.calendar.Calendar#setDate - Arguments Date and ludo.View(the view firing the event)
Extends
Methods
-
getDate() → {Object}
-
Returns selected date as Date object
- Source:
Returns:
selected date
- Type
- Object
-
setMonth(month)
-
Set current month
Parameters:
Name Type Description month
Number (1-12)
- Source:
Returns:
void
-
setYear(year)
-
Set year (4 digits)
Parameters:
Name Type Description year
Number - Source:
-
val(date) → {*}
-
Set or get date
Parameters:
Name Type Description date
String | Date - Source:
Returns:
- Type
- *