monster.ui.monthpicker()

Syntax

monster.ui.monthpicker(target[, options]);

Parameters

KeyDescriptionTypeDefaultRequired
targetInput on which the method will be applied.jQuerytrue
optionsObject(#/options)false

options

KeyDescriptionTypeDefaultRequired
selectedMonthUsed to set the selected month (when not set nothing is selected).Datenullfalse
minMonthUsed to set the minimum selectable month (when not set there is no minimum).Datenullfalse
maxMonthUsed to set the maximum selectable month (when not set there is no maximum).Datenullfalse

Description

This helper will transform a field into a jQuery MonthPicker element.