Menu
©2015
Documentation generator: JsDoc Toolkit 2.4.0
Template: Codeview 1.2
Generated on: 2015-1-16 18:32

Class puredom.DOMEvent

Class Summary
Constructor Attributes Constructor Name and Description
 
Field Summary
Field Attributes Field Name and Description
 
The contained raw DOM Event.
 
When available, refers to a DOM node that aided in originating the event (such as the DOM node the mouse was *previously* overtop of).
 
Represents the handler's return value.
 
The DOM node that originated the event.
 
The timestamp when the event was triggered.
 
The triggered event type (with no "on"-prefix)
 
Which mouse button or key generated the action (if applicable)

Method Summary

Method Attributes Method Name and Description
 
cancel ()
Stop bubbling, prevent the browser-default action and set the event's returned value to false.
 
Alias of puredom.DOMEvent#stopPropagation, provided only for backward compatibility.
 
Prevent the event's browser-default action from occurring.
 
stop ()
Alias of puredom.DOMEvent#cancel, provided only for compatibility with other notable DOM libraries.
 
Stop bubbling.

Class Detail

puredom.DOMEvent()

Field Detail

{DOMEvent} originalEvent
The contained raw DOM Event.
relatedTarget
When available, refers to a DOM node that aided in originating the event (such as the DOM node the mouse was *previously* overtop of).
{Boolean} returnValue
Represents the handler's return value.
target
The DOM node that originated the event.
{Number} timeStamp
The timestamp when the event was triggered.
{String} type
The triggered event type (with no "on"-prefix)
{Number} which
Which mouse button or key generated the action (if applicable)

Method Detail

  • cancel()
    Stop bubbling, prevent the browser-default action and set the event's returned value to false.
  • cancelBubble()
    Alias of puredom.DOMEvent#stopPropagation, provided only for backward compatibility.
  • preventDefault()
    Prevent the event's browser-default action from occurring.
  • stop()
    Alias of puredom.DOMEvent#cancel, provided only for compatibility with other notable DOM libraries.
  • stopPropagation()
    Stop bubbling.