ToggleButtonViewModel

ToggleButtonViewModel

new

A ViewModel which exposes the properties of a toggle button.

Parameters:
Name Type Argument Description
options Object <optional>
A options defining the button's properties.
Source:

Members

:Command

A command object which encapsulates what happens when the button is toggled.

:Observable

An observable boolean indicating if the button is currently toggled.

:Observable

An observable string defining the tool tip.