Class Index | File Index

Classes


Class dijit.form.Button


Extends dijit.form.FormWidget.

Defined in: Button.js.

Class Summary
Constructor Attributes Constructor Name and Description
 
Basically the same thing as a normal HTML button, but with special styling.
Fields borrowed from class dijit.form.FormWidget:
_onChangeActive, alt, disabled, intermediateChanges, name, scrollOnFocus, tabIndex, type, value
Fields borrowed from class dijit.Widget:
_blankGif, _deferredConnects, _started, attributeMap, baseClass, containerNode, dir, domNode, id, lang, nodesWithKeyClick, srcNodeRef, style, title, tooltip
Fields borrowed from class dijit.Templated:
_attachPoints, _earlyTemplatedStartup, _skipNodeCache, templatePath, templateString, widgetsInTemplate
Fields borrowed from class dijit.CssStateMixin:
cssStateNodes
Methods borrowed from class dijit.form.FormWidget:
_handleOnChange, compare, focus, getValue, isFocusable, onChange, setDisabled, setValue
Methods borrowed from class dijit.Widget:
_applyAttributes, _attrToDom, _getAttrNames, _onBlur, _onConnect, _onFocus, _onShow, _setClassAttr, _setStyleAttr, attr, buildRendering, connect, create, destroy, destroyDescendants, destroyRecursive, destroyRendering, disconnect, get, getChildren, getDescendants, isLeftToRight, onBlur, onClick, onClose, onDblClick, onFocus, onKeyDown, onKeyPress, onKeyUp, onMouseDown, onMouseEnter, onMouseLeave, onMouseMove, onMouseOut, onMouseOver, onMouseUp, onShow, placeAt, postCreate, postMixInProperties, postscript, set, setAttribute, startup, subscribe, toString, uninitialize, unsubscribe
Methods borrowed from class dijit.Templated:
_attachTemplateNodes, _fillContent, _stringRepl
Methods borrowed from class dijit.CssStateMixin:
_cssMouseEvent, _setStateClass, _trackMouseState
Class Detail
dijit.form.Button()
Basically the same thing as a normal HTML button, but with special styling. Buttons can display a label, an icon, or both. A label should always be specified (through innerHTML) or the label attribute. It can be hidden via showLabel=false.
<button dojoType="dijit.form.Button" onClick="...">Hello world</button>
new dijit.form.Button({label: "hello world", onClick: foo}).placeAt(dojo.body());

Documentation generated by JsDoc Toolkit 2.3.2 on Mon Sep 20 2010 21:52:24 GMT+0900 (JST)