Class Index | File Index

Classes


Class pwlib.appEvent

Custom application event.
Defined in: lib.js.

Class Summary
Constructor Attributes Constructor Name and Description
 
pwlib.appEvent(type, cancelable)
Field Summary
Field Attributes Field Name and Description
 
Tells if the event can be cancelled or not.
 
Tells if the event has the default action prevented or not.
 
Event target object.
 
Event type.
Method Summary
Method Attributes Method Name and Description
 
Prevent the default action of the event.
 
Stop the event propagation to other event handlers.
 
Class Detail
pwlib.appEvent(type, cancelable)
Parameters:
{String} type
Event type.
{Boolean} cancelable Optional, Default: false
Tells if the event can be cancelled or not.
Throws:
{TypeError}
If the type parameter is not a string.
{TypeError}
If the cancelable parameter is not a string.
See:
pwlib.appEvents for the application events interface which allows adding and removing event listeners.
Field Detail
{Boolean} cancelable
Tells if the event can be cancelled or not.

{Boolean} defaultPrevented
Tells if the event has the default action prevented or not.

{Object} target
Event target object.

{String} type
Event type.
Method Detail
preventDefault()
Prevent the default action of the event.

stopPropagation()
Stop the event propagation to other event handlers.

toString()

Documentation generated by JsDoc Toolkit 2.3.0 on Sat Jun 26 2010 21:56:59 GMT+0300 (EEST)