9 isPropagationStopped : false,
10 isDefaultPrevented : false,
11 isImmediatePropagationStopped : false,
12 areImmediateHandlersPrevented : false,
13 init : function init(type
, data
) {
15 if (typeof data
!== 'undefined') {
16 for(var property
in data
) {
17 if (data
.hasOwnProperty(property
)) {
18 this[property
] = data
[property
];
23 stopPropagation : function stopPropagation() {
24 this.isPropagationStopped
= true;
26 preventDefault : function preventDefault() {
27 this.isDefaultPrevented
= true;
29 stopImmediatePropagation : function stopImmediatePropagation() {
30 this.preventImmediateHandlers();
31 this.stopPropagation();
33 preventImmediateHandlers : function preventImmediateHandlers() {
34 this.areImmediateHandlersPrevented
= true;