Button
Class
- Button ()
Attributes
- checkable {Boolean} Whether button can be checkable(toggle).
- checked {Boolean} Whether button is checked(toggle).
- collapseSide {String} Add collapse-right/left css class to root element.
- describedby {String} Aria-describedby attribute.
- tooltip {String} Tooltip for button.
- value {} Value associated with button component.
- 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
- render () render button to document.
- Methods borrowed from class Component.Controller: addChild, bindUI, createDom, getChildAt, getCssClassWithPrefix, handleBlur, handleDblClick, handleFocus, handleKeydown, handleKeyEventInternal, handleMouseDown, handleMouseEnter, handleMouseLeave, handleMouseUp, initializer, performActionInternal, removeChild, removeChildren, renderUI
- Methods borrowed from class Component.UIBase: create, destroy, 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
-
checkable {Boolean} Whether button can be checkable(toggle). Default: false.
-
checked {Boolean} Whether button is checked(toggle). Default: false.
-
collapseSide {String} Add collapse-right/left css class to root element. enum { "left","right" }
-
describedby {String} Aria-describedby attribute.
-
tooltip {String} Tooltip for button.
-
value Value associated with button component.
Methods Detail
-
render () view sourcerender button to document.
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