dijit/form/_ButtonMixin (version 1.10)

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

Property Summary

  • labelContent to display in button.
  • typeType of button (submit, reset, button, checkbox, radio)

Method Summary

  • __onClick(e) Internal function to divert the real click onto the hidden INPUT that has a native default action associated with it
  • _setLabelAttr()
  • postCreate()

Event Summary

  • _onClick(e) Internal function to handle click actions
  • onClick(e) Callback for when button is clicked.

Properties

label

Content to display in button.

type

Type of button (submit, reset, button, checkbox, radio)

Methods

__onClick(e)

Internal function to divert the real click onto the hidden INPUT that has a native default action associated with it

Parameter Type Description
e Event
Returns:boolean
_setLabelAttr()
postCreate()

Events

_onClick(e)

Internal function to handle click actions

Parameter Type Description
e Event
Returns:boolean
onClick(e)

Callback for when button is clicked. If type="submit", return true to perform submit, or false to cancel it.

Parameter Type Description
e Event
Returns:boolean
Error in the documentation? Can’t find what you are looking for? Let us know!