A view model which exposes the properties of a toggle button.
alias ToggleButtonViewModel
- {Command} command The command which will be executed when the button is toggled.
- The options object takes the following properties
- {Boolean} [options.toggled=false] A boolean indicating whether the button should be initially toggled.
- {String} [options.tooltip= ] A string containing the button's tooltip.
A view model which exposes the properties of a toggle button. alias ToggleButtonViewModel
- {Command} command The command which will be executed when the button is toggled. - The options object takes the following properties - {Boolean} [options.toggled=false] A boolean indicating whether the button should be initially toggled. - {String} [options.tooltip= ] A string containing the button's tooltip.