• 首页
  • Tutorials
  • API
  • DEMO
  • Google Group
  • Source Code
  • English API Docs

Navigation

  • index
  • modules |
  • next |
  • previous |
  • KISSY v1.2 Documentation »
  • API Documentation »
  • Component »
  • Menu »

Menu.PopupMenu¶

悬浮菜单.

Class¶

  • PopupMenu

Class Detail¶

class menu.PopupMenu¶
PopupMenu (config)
  • 继承自 Menu , 包含其全部配置,属性,方法,事件.
  • 扩充自 Position, 包含其全部配置,属性,方法,事件.
  • 扩充自 Align, 包含其全部配置,属性,方法,事件.
Parameters:config (Object) – 配置项,详细见下方 Config Attributes Detail .

Note

从已有元素实例 PopupMenu 对象时 , 元素节点标明类名 {prefixCls}popupmenu . prefixCls 为配置的类名前缀,默认为 ks- .

Config Attributes Detail¶

PopupMenu.config.autoHideOnMouseLeave¶

{boolean} - 默认 false。鼠标移出子菜单时子菜单是否自动隐藏

PopupMenu.config.autoHideDelay¶

{number} - 如果设置 autoHideOnMouseLeave 为 true,表示鼠标移出子菜单多长时间后自动隐藏子菜单

Navigation

  • index
  • modules |
  • next |
  • previous |
  • KISSY v1.2 Documentation »
  • API Documentation »
  • Component »
  • Menu »

    Seed

    • loader
    • kissy
    • lang
    • web

    Core

    • ua
    • dom
    • event
    • node
    • json
    • ajax
    • cookie
    • base
    • anim

    Component

    • sizzle
    • mvc
    • template
    • datalazyload
    • flash
    • dd
    • resizable
    • switchable
    • suggest
    • calendar
    • imagezoom
    • overlay
    • uibase
    • component
    • button
    • menu
    • menubutton
    • tree
    • waterfall
    • validation
    • editor
© Copyright 2010~2012, KISSY Team. Created using Sphinx