-
Notifications
You must be signed in to change notification settings - Fork 75
ButtonIcon Option
Benjamin Albert edited this page Feb 4, 2016
·
2 revisions
Type: String
Default: ui-icon-calculator
Allows setting a different primary <a href='http://api.jqueryui.com/theming/icons/'>icon class name</a> for the default icon. Feel free to use this option in your custom buttons as show in the [[Button pption|Button-option]] examples.
Set the option upon init.
$('.selector').MonthPicker({ ButtonIcon: 'ui-icon-clock' });
Get or set the option, after init.
//getter var image = $('.selector').MonthPicker('option', 'ButtonIcon'); //setter $('.selector').MonthPicker('option', 'ButtonIcon', false );