Skip to content

Studying how to envolve websites with a global event-ready data object.

Notifications You must be signed in to change notification settings

alvaroOnCode/js-custom-events

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

4 Commits
Β 
Β 
Β 
Β 

Repository files navigation

πŸš€ JavaScript Custom Events πŸš€ standard-readme compliant

πŸ”– Description

Studying how to envolve websites with a global event-ready data object.

πŸŽ“ Tech

Vanilla JavaScript.

πŸ“– How To

There are two scripts in the project: customEvent.js and customEventWithData.js.

First one declares an Event called myHappyCustomEvent which is dispatched on every click in DOM.

Second one declares en Event called withCustomData which is dispatched on every click in the button. This event owns custom data set in detail property (check console to find it).

🌍 Languages

  • πŸ‡ΊπŸ‡Έ English
  • πŸ‡ͺπŸ‡Έ EspaΓ±ol πŸ”§ Not available yet

Happy Code

Made with JavaScript and a lot of ❀️

This README.md file looks pretty because of

GitHub Markdown
Emojipedia

About

Studying how to envolve websites with a global event-ready data object.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published