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