wijmo.calendar.wijcalendar Namespace > options type : calendarWeekRule Option |
Default value: 'firstDay'
Defines different rules for determining the first week of the year.
Javascript (Usage) | |
---|---|
$(function () { // Get value var value; // Type: string value = $(".selector").wijcalendar("option", "calendarWeekRule"); // Set value var newValue; // Type: string $(".selector").wijcalendar("option", "calendarWeekRule", newValue); }); |
Javascript (Specification) | |
---|---|
|
$("#calendar1").wijcalendar( { calendarWeekRule: 'firstFourDayWeek'} );