@schukai/monster 3.28.0 → 3.29.0
Sign up to get free protection for your applications and to get access to all the features.
package/package.json
CHANGED
package/source/dom/events.mjs
CHANGED
@@ -33,9 +33,11 @@ function fireEvent(element, type) {
|
|
33
33
|
return;
|
34
34
|
}
|
35
35
|
|
36
|
+
// https://developer.mozilla.org/en-US/docs/Web/API/Event/Event
|
36
37
|
let event = new Event(validateString(type), {
|
37
38
|
bubbles: true,
|
38
39
|
cancelable: true,
|
40
|
+
composed: true,
|
39
41
|
});
|
40
42
|
|
41
43
|
element.dispatchEvent(event);
|
@@ -72,6 +74,7 @@ function fireCustomEvent(element, type, detail) {
|
|
72
74
|
let event = new CustomEvent(validateString(type), {
|
73
75
|
bubbles: true,
|
74
76
|
cancelable: true,
|
77
|
+
composed: true,
|
75
78
|
detail,
|
76
79
|
});
|
77
80
|
|
package/source/types/version.mjs
CHANGED
package/test/cases/monster.mjs
CHANGED