dijit.form.Button, dijit.form.DropDownButton, dijit.form.ComboButton
属性
iconClass:指定按钮的图标样式
label:指定按钮显示的文字
optionsTitle:描述菜单选项的文字。
showLabel:是否显示按钮的label。
方法:
addChild:添加子widget。
getChildren:以数组的形式获得所有子widget。
setLabel
hasChildren
removeChild:删除子widget。
可覆盖方法:
onClick
dijit.Menu
属性
contextMenuForWindow
popupDelay
targetNodeIds
方法:
addChild
bindDomNode
getChildren
removeChild
unBindDomNode
可覆盖方法:
onClose
onOpen
dijit.MenuItem
属性
disabled
iconClass
label
方法
setDisabled
可覆盖方法
getParent
onClick
dijit.Toolbar
Toolbar, which can be filled with ComboButton and DropDownButton instances
方法
addChild Process the given child widget, inserting it's dom node as a child of our dom node
getChildren Returns array of children widgets
removeChild Removes the passed widget instance from this widget but does not destroy the passed widget
属性
iconClass:指定按钮的图标样式
label:指定按钮显示的文字
optionsTitle:描述菜单选项的文字。
showLabel:是否显示按钮的label。
方法:
addChild:添加子widget。
getChildren:以数组的形式获得所有子widget。
setLabel
hasChildren
removeChild:删除子widget。
可覆盖方法:
onClick
dijit.Menu
属性
contextMenuForWindow
popupDelay
targetNodeIds
方法:
addChild
bindDomNode
getChildren
removeChild
unBindDomNode
可覆盖方法:
onClose
onOpen
dijit.MenuItem
属性
disabled
iconClass
label
方法
setDisabled
可覆盖方法
getParent
onClick
dijit.Toolbar
Toolbar, which can be filled with ComboButton and DropDownButton instances
方法
addChild Process the given child widget, inserting it's dom node as a child of our dom node
getChildren Returns array of children widgets
removeChild Removes the passed widget instance from this widget but does not destroy the passed widget
本文详细介绍了Dojo Toolkit中Button、DropDownButton及MenuItem等UI组件的属性与方法,包括图标设置、子组件管理及菜单操作等功能,并探讨了Toolbar的使用方式。
1万+

被折叠的 条评论
为什么被折叠?



