mirror of
https://github.com/jaandrle/deka-dom-el
synced 2025-07-01 12:22:15 +02:00
✨ Add __dde_lifecycleToEvents flag to lifecycleToEvents
This commit is contained in:
@ -74,6 +74,7 @@ function lifecycleToEvents(class_declaration){
|
||||
}));
|
||||
target.apply(thisArg, detail);
|
||||
});
|
||||
class_declaration.prototype.__dde_lifecycleToEvents= true;
|
||||
}
|
||||
function wrapMethod(obj, method, apply){
|
||||
obj[method]= new Proxy(obj[method] || (()=> {}), { apply });
|
||||
|
Reference in New Issue
Block a user