2007-11-14
第十一个范例——Button家族
dijit.form.Button, dijit.form.DropDownButton, dijit.form.ComboButton
属性
方法:
dijit.Menu
属性
方法:
dijit.MenuItem
属性
方法
dijit.Toolbar
Toolbar, which can be filled with ComboButton and DropDownButton instances
方法
属性
- 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
发表评论
- 浏览: 56077 次

- 详细资料
搜索本博客
最近加入圈子
最新评论
-
对you must specify a loc ...
非常谢谢你啊!
-- by guoshiyu20 -
dojo 1.1 beta2发布了
dojo1.1 beta3发布了,下载地址:http://download.do ...
-- by noname365 -
对you must specify a loc ...
刚好遇到这个问题,使用你提到的办法解决了。谢谢!
-- by movingboy -
Dojo1.0简介
老兄你的文档终于出来了,多写一些例子:),3x
-- by karan -
dojo1.0.1正式发布了
速度问题是个折中 后台可以考虑,前台Web还是慎重
-- by airport






评论排行榜