$(function () { var returnsValue; // Type: any // Parameters var commandName; // Type: string var disabled; // Type: bool returnsValue = $(".selector").wijribbon("setButtonDisabled", commandName, disabled); });
function setButtonDisabled( commandName : string, disabled : bool ) : any;
Parameters
- commandName
- The name of the command.
- disabled
- The disabled state of the button, true or false.