File tree Expand file tree Collapse file tree 1 file changed +9
-4
lines changed
packages/happy-dom/src/event Expand file tree Collapse file tree 1 file changed +9
-4
lines changed Original file line number Diff line number Diff line change @@ -12,10 +12,15 @@ import Document from '../nodes/document/Document.js';
12
12
* Event.
13
13
*/
14
14
export default class Event {
15
- public NONE = EventPhaseEnum . none ;
16
- public CAPTURING_PHASE = EventPhaseEnum . capturing ;
17
- public AT_TARGET = EventPhaseEnum . atTarget ;
18
- public BUBBLING_PHASE = EventPhaseEnum . bubbling ;
15
+ public static NONE = EventPhaseEnum . none ;
16
+ public static CAPTURING_PHASE = EventPhaseEnum . capturing ;
17
+ public static AT_TARGET = EventPhaseEnum . atTarget ;
18
+ public static BUBBLING_PHASE = EventPhaseEnum . bubbling ;
19
+
20
+ public NONE = Event . NONE ;
21
+ public CAPTURING_PHASE = Event . CAPTURING_PHASE ;
22
+ public AT_TARGET = Event . AT_TARGET ;
23
+ public BUBBLING_PHASE = Event . BUBBLING_PHASE ;
19
24
20
25
public [ PropertySymbol . composed ] = false ;
21
26
public [ PropertySymbol . bubbles ] = false ;
You can’t perform that action at this time.
0 commit comments