Skip to content

Commit 8c2aec3

Browse files
committed
fix: add support for blur event initialization in CoCreateEvents
1 parent 053f322 commit 8c2aec3

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/index.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -45,6 +45,7 @@ const CoCreateEvents = {
4545
this.initPrefix("resize", ["onload", "resize"]);
4646
this.initPrefix("localstorage", ["onload"]);
4747
this.initPrefix("focus", ["focus"]);
48+
this.initPrefix("blur", ["blur"]);
4849
}
4950

5051
let customEventEls = document.querySelectorAll("[event-name]");

0 commit comments

Comments
 (0)