cls_ToggleButton - almarklein/visvis GitHub Wiki

Inherits from PushButton.

Inherits from PushButton. This button can be set on and off by clicking on it, or by using it's property "state". The on state is indicated by making the edge thicker. The event eventStateChanged is fired when its state is changed.

The ToggleButton class implements the following properties:
eventStateChanged, state

Properties

Fires when the state of the button changes.

A boolean expressing the state of the toggle button: on or off.

⚠️ **GitHub.com Fallback** ⚠️