Removes deprecated attributes from $eventcatcher (#9259)

* fix: removed deprecated attributes

* docs: update for eventcatcher
This commit is contained in:
Saq Imtiaz
2025-10-06 17:12:08 +01:00
committed by GitHub
parent a36356a07d
commit 865f36a6f5
2 changed files with 5 additions and 8 deletions
+1 -4
View File
@@ -44,7 +44,7 @@ EventWidget.prototype.render = function(parent,nextSibling) {
domNode.addEventListener(type,function(event) {
var selector = self.getAttribute("selector"),
matchSelector = self.getAttribute("matchSelector"),
actions = self.getAttribute("$"+type) || self.getAttribute("actions-"+type),
actions = self.getAttribute("$"+type),
stopPropagation = self.getAttribute("stopPropagation","onaction"),
selectedNode = event.target,
selectedNodeRect,
@@ -122,9 +122,6 @@ EventWidget.prototype.execute = function() {
self.types.push(key.slice(1));
}
});
if(!this.types.length) {
this.types = this.getAttribute("events","").split(" ");
}
this.elementTag = this.getAttribute("tag");
// Make child widgets
this.makeChildWidgets();