Skip to content
New issue

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

[🚀esl-event-listener]: POC ability to use array as a criteria for subscriptions filtering #2387

Open
ala-n opened this issue May 7, 2024 · 0 comments
Assignees
Labels
enhancement Improvements and additions to code feature New feature postponed Postponed issue

Comments

@ala-n
Copy link
Collaborator

ala-n commented May 7, 2024

It is proposed to consider using arrays as a way to pass conjunction criteria for subscription filtering.

// Unsubscribes both _onEvent1 and _onEvent2
this.$$off([this._onEvent1, this._onEvent2]);

// Unsubscribes all click an keydown events
this.$$off(['click', 'keydown']);
@ala-n ala-n added enhancement Improvements and additions to code feature New feature labels May 7, 2024
@ala-n ala-n self-assigned this May 7, 2024
@ala-n ala-n added the postponed Postponed issue label May 29, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement Improvements and additions to code feature New feature postponed Postponed issue
Projects
None yet
Development

No branches or pull requests

1 participant