Menu
Class
- Menu ()
Attributes
- activeItem {Menu.Item} Current active menu item.
- highlightedItem {Menu.Item} Current highlighted child menu item.
- Fields borrowed from class Component.Controller: active, activeable, children, disabled, focusable, focused, handleMouseEvents, highlighted, parent, prefixCls, view
- Fields borrowed from class Component.UIBase: created, listeners, plugins, rendered, xclass
- Fields borrowed from class Component.UIBase.Box: content, el, elAttrs, elBefore, elCls, elStyle, height, srcNode, visible, visibleMode, width
Methods
- containsElement (element) Whether this menu contains specified html element.
- handleKeyEventInternal (e) Attempts to handle a keyboard event; returns true if the event was handled, false otherwise.
- Methods borrowed from class Component.Container: decorateInternal, getOwnerControl
- Methods borrowed from class Component.Controller: addChild, bindUI, createDom, getChildAt, getCssClassWithPrefix, handleBlur, handleDblClick, handleFocus, handleKeydown, handleMouseDown, handleMouseEnter, handleMouseLeave, handleMouseUp, initializer, performActionInternal, removeChild, removeChildren, renderUI
- Methods borrowed from class Component.UIBase: create, destroy, render, syncUI
- Methods borrowed from class Base: set
- Methods borrowed from class Attribute: addAttr, addAttrs, get, getAttrs, getAttrVals, hasAttr, removeAttr, reset
- Methods borrowed from class Component.UIBase.Box: hide, show
Attributes Detail
Methods Detail
-
containsElement (element) view sourceWhether this menu contains specified html element.
- Parameters
-
- element {NodeList} Html Element to be tested.
- Returns
-
- {Boolean}
-
handleKeyEventInternal (e) view sourceAttempts to handle a keyboard event; returns true if the event was handled, false otherwise. If the container is enabled, and a child is highlighted, calls the child controller's {@code handleKeydown} method to give the control a chance to handle the event first. Protected, should only be overridden by subclasses.
- Parameters
-
- e {Event.Object} Key event to handle.
- Returns
-
- {Boolean} Whether the event was handled by the container (or one of its children).
Classes
- Anim
- Anim.Easing
- Attribute
- Base
- Button
- ComboBox
- ComboBox.LocalDataSource
- ComboBox.RemoteDataSource
- Component
- Component.Container
- Component.Controller
- Component.Manager
- Component.Render
- Component.UIBase
- Component.UIBase.Align
- Component.UIBase.Box
- Component.UIBase.Close
- Component.UIBase.Constrain
- Component.UIBase.ContentBox
- Component.UIBase.Drag
- Component.UIBase.Loading
- Component.UIBase.Mask
- Component.UIBase.Position
- Component.UIBase.Resize
- Component.UIBase.StdMod
- Cookie
- DataLazyload
- DD
- DD.Constrain
- DD.DDM
- DD.Draggable
- DD.DraggableDelegate
- DD.Droppable
- DD.DroppableDelegate
- DD.Proxy
- DD.Scroll
- DOM
- Editor
- Editor.Range
- Editor.Utils
- Editor.Walker
- Event
- Event.Object
- Event.Target
- IO
- IO.XhrObject
- KISSY
- KISSY.Defer
- KISSY.Loader
- KISSY.Loader.Module
- KISSY.Loader.Package
- KISSY.Promise
- Menu
- Menu.FilterMenu
- Menu.Item
- Menu.PopupMenu
- Menu.Separator
- MenuButton
- MenuButton.Option
- MenuButton.Select
- MVC
- MVC.Collection
- MVC.Model
- MVC.Router
- MVC.View
- NodeList
- Overlay
- Overlay.Dialog
- Overlay.Popup
- Resizable
- Tree
- Tree.CheckNode
- Tree.CheckTree
- Tree.Node
- Waterfall
- Waterfall.Loader