We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
ESLDecoratedEventTarget
ESLDecoratedEventTarget`` replaces original event target` with incorrect value
ESLDecoratedEventTarget`` replaces original event
class MyComponent extends ESLBaseElement { @listen({ event: 'resize', target: ESLEventUtils.decorate(window, debounce, 250) }) onResize(e: Event) { console.log(e.target); } }
e.target === ESLEventUtils.decorate(window, debounce, 250)
e.target === window
The text was updated successfully, but these errors were encountered:
d5e2c78
chore(release): 4.4.0
18eac9b
# [4.4.0](v4.3.1...v4.4.0) (2023-04-12) ### Bug Fixes * **esl-event-listener:** fix `ESLEventTargetDecorator` dispatched event `target` ([8252988](8252988)) * **esl-event-listener:** fix target delegation checking ([b307ce6](b307ce6)) * **esl-event-listener:** fix typechecking for TS5 ([d434275](d434275)) * **esl-media:** fix `iv_load_policy` param and small test regexp optimization in YouTube provider ([2deb64b](2deb64b)) * **esl-utils:** `SynteticEventTarget` no longer mutate `event.target` without need; `event.currentTarget` fix to current instance ([d5e2c78](d5e2c78)), closes [#1534](#1534) ### Code Refactoring * **esl-event-listener:** change API of extended EventTargets ([39b01cc](39b01cc)) ### Features * **esl-base-element:** `ESLBaseElement.prototype.baseTagName` shortcut ([c10fc6d](c10fc6d)) * **esl-core:** make `this.constructor` strictly typed for `ESLBaseElement` and `ESLMixinElement` ([824ca1c](824ca1c)) * **esl-event-listener:** improved `ESLResizeObserverTarget` API with a standardized `ESLElementResizeEvent` ([8e1d72e](8e1d72e)) * **esl-event-listener:** support for `ESLDomElementTarget` in `ESLResizeObserverTarget` ([#1573](#1573)) ([f177381](f177381)) * **esl-utils:** `getEventListeners()` method introduced for `SynteticEventTarget` ([#1548](#1548)) ([c293b61](c293b61)) ### BREAKING CHANGES * **esl-event-listener:** beta `ESLEventUtils.resize` replaced with `ESLResizeObserverTarget.for` * **esl-event-listener:** beta `ESLEventUtils.decorate` replaced with `ESLDecoratedEventTarget.for`
🎉 This issue has been resolved in version 4.4.0 🎉
The release is available on:
Your semantic-release bot 📦🚀
Sorry, something went wrong.
ala-n
No branches or pull requests
ESLDecoratedEventTarget`` replaces original event
target` with incorrect valueSteps:
Current:
e.target === ESLEventUtils.decorate(window, debounce, 250)
Expected:
e.target === window
The text was updated successfully, but these errors were encountered: