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
  • eleven.rar (1.8 KB)
  • 描述: 源代码
  • 下载次数: 18
评论
发表评论

您还没有登录,请登录后发表评论

noname365
搜索本博客
最近加入圈子
存档
最新评论