Skip to content

ShowIcon Option

Ryan Segura edited this page Feb 4, 2016 · 1 revision

Type: Boolean
Default: true
Shows an icon that opens the month picker. Without an icon, the month picker menu will show upon focus of the text box.


Set the option upon init.

$('.selector').MonthPicker({ ShowIcon: true });
Get or set the option, after init.
//getter
var disabled = $('.selector').MonthPicker('option', 'ShowIcon');

//setter
$('.selector').MonthPicker('option', 'ShowIcon', false );