The label text for the button. The text is sanitized for security before use so it can accept end user strings. An HTML button label can be set in onAdd if desired.
An optional listener function called when the button is created.
An optional listener function called when the button is clicked. If none is specified, the button will have no effect.
An optional spoken label used with screen readers.
Optional additional details that may be displayed about the button.
This API is still under development and is subject to change. Copyright © Math I Can Do Solutions Incorporated and/or its licensors.
Describes a custom palette button. Custom palette buttons not restricted to activating built-in commands when clicked. A custom button template must minimally specify a
label
. In addition, anonUse
handler function should be specified to perform the desired action when then button is clicked. All other properties are optional.PaletteButtonTemplate