kaiyote / kaiyote/use-web-component

Remove the argument count requirement on event listeners

Open
#6 0 comments 1 reaction 1 assignee Claimed by @kaiyote View on GitHub
enhancement good first issue
Dominant language
TypeScript
Stars
2
Forks
1
PR merge metrics
No merged PRs in 30d

Description

**Is your feature request related to a problem? Please describe.**
If I don't care about the actual event, and i just want to listen to it and do something, i still have to accept the event as a param, even if i don't want to. Its kind of annoying.

**Describe the solution you'd like**
Remove the check of the length of the params list when it finds the event listeners

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.