1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-25 20:07:35 +00:00

LibWeb: Add Event.eventPhase constants

This commit is contained in:
Luke Wilde 2021-10-19 03:41:21 +01:00 committed by Andreas Kling
parent 545d403f6b
commit defe4d50ff

View file

@ -8,6 +8,10 @@ interface Event {
readonly attribute EventTarget? currentTarget;
sequence<EventTarget> composedPath();
const unsigned short NONE = 0;
const unsigned short CAPTURING_PHASE = 1;
const unsigned short AT_TARGET = 2;
const unsigned short BUBBLING_PHASE = 3;
readonly attribute unsigned short eventPhase;
undefined stopPropagation();