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

[Snippets] - Added event listener related snippets #226

Closed
wants to merge 1 commit into from

Conversation

JanluOfficial
Copy link
Contributor

Description

Added snippets in JavaScript for

  • Adding event listeners
  • Removing event listeners
  • Triggering custom events

Type of Change

  • ✨ New snippets
  • πŸ›  Improvement to an existing snippet
  • 🐞 Bug fix
  • πŸ“– Documentation update
  • πŸ”§ Other (please describe):

Checklist

  • I have tested my code and verified it works as expected.
  • My code follows the style and contribution guidelines of this project.
  • Comments are added where necessary for clarity.
  • Documentation has been updated (if applicable).
  • There are no new warnings or errors from my changes.

Related Issues

None

Additional Context

There was initially supposed to also be a snippet for delegating an event to a parent element but I decided to leave that one out for now and maybe contribute it later.

Screenshots (Optional)

Click to view screenshots

image

@JanluOfficial JanluOfficial changed the title [Snippets/JS] - Added event listener related snippets [Snippets] - Added event listener related snippets Jan 10, 2025
@Mathys-Gasnier
Copy link
Collaborator

Hey, Thank you for your contribution.

After reviewing your PR we've found that all/some snippets you are adding don't match the scope of Quicksnip.
The snippets in your PR act as examples and not as snippets, please read the guidelines before contributing.
Please remove the PR that don't match the scope (Listed bellow), if your PR contains no snippet matching the scope of Quicksnip, it will be closed without further notice.

If no fix is provided within 7-10 days this PR will be closed without further notice

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants