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

feat(core): improve event listener filter to extend its usage #191

Merged
merged 9 commits into from
Aug 23, 2024

Conversation

SgLy
Copy link
Contributor

@SgLy SgLy commented Aug 15, 2024

Improved eventListenerFilter can handle usage of former eventObjectFilter and eventListenerFilter, while having more usage like dropping an specific event or handle event with knowledge of generalLvaluePath.

Some logic are also moved out from event listener (to binding-time), this may slightly improve event handling performance.

@SgLy SgLy added enhancement New feature or request module:core labels Aug 15, 2024
@SgLy SgLy requested a review from LastLeaf August 15, 2024 14:11
@SgLy SgLy self-assigned this Aug 15, 2024
glass-easel/src/tmpl/proc_gen_wrapper.ts Show resolved Hide resolved
glass-easel/src/tmpl/proc_gen_wrapper.ts Outdated Show resolved Hide resolved
@LastLeaf LastLeaf merged commit 263ade6 into wechat-miniprogram:master Aug 23, 2024
4 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request module:core
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants