dijit/form/_ToggleButtonMixin (version 1.10)

Summary

A mixin to provide functionality to allow a button that can be in two states (checked or not).

See the dijit/form/_ToggleButtonMixin reference documentation for more information.

Property Summary

  • _aria_attr
  • checkedCorresponds to the native HTML <input> element's attribute.

Method Summary

Event Summary

Properties

_aria_attr
checked

Corresponds to the native HTML <input> element's attribute. In markup, specified as "checked='checked'" or just "checked". True if the button is depressed, or the checkbox is checked, or the radio button is selected, etc.

Methods

_setCheckedAttr(value,priorityChange)
Parameter Type Description
value Boolean
priorityChange Boolean
Optional
postCreate()
reset()

Reset the widget's value to what it was at initialization time

Events

_onClick(evt)
Parameter Type Description
evt Event
Returns:undefined
Error in the documentation? Can’t find what you are looking for? Let us know!