Event.Object
KISSY's event system normalizes the event object according to W3C standards. The event object is guaranteed to be passed to the event handler. Most properties from the original event are copied over and normalized to the new event object.
defined in: object.js
Class
- Event.Object ()
Attributes
- isDefaultPrevented {Boolean} Flag for preventDefault that is modified during fire event.
- isImmediatePropagationStopped {Boolean} Flag for stopImmediatePropagation that is modified during fire event.
- isPropagationStopped {Boolean} Flag for stopPropagation that is modified during fire event.
Methods
- halt (immediate) Stops the event propagation and prevents the default event behavior.
- preventDefault () Prevents the event's default behavior
- stopImmediatePropagation () Stops the propagation to the next bubble target and prevents any additional listeners from being exectued on the current target.
- stopPropagation () Stops the propagation to the next bubble target
Class Detail
-
Event.Object ()KISSY's event system normalizes the event object according to W3C standards. The event object is guaranteed to be passed to the event handler. Most properties from the original event are copied over and normalized to the new event object.
Attributes Detail
-
isDefaultPrevented {Boolean} Flag for preventDefault that is modified during fire event. if it is true, the default behavior for this event will be executed.
-
isImmediatePropagationStopped {Boolean} Flag for stopImmediatePropagation that is modified during fire event. true means to stop propagation to bubble targets and other listener.
-
isPropagationStopped {Boolean} Flag for stopPropagation that is modified during fire event. true means to stop propagation to bubble targets.
Methods Detail
-
halt (immediate) view sourceStops the event propagation and prevents the default event behavior.
- Parameters
-
- [ immediate ] {Boolean} if true additional listeners on the current target will not be executed
-
preventDefault () view sourcePrevents the event's default behavior
-
stopImmediatePropagation () view sourceStops the propagation to the next bubble target and prevents any additional listeners from being exectued on the current target.
-
stopPropagation () view sourceStops the propagation to the next bubble target
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