Custom Events Dispatched from Web Components
When you build web components, you are generally building a new feature that is intended to be used by other developers and on multiple websites. This means planning the features and building them in a way that won't cause issues on other other websites.
This tutorial explains how to use CustomEvents, CSS Properties, and private properties inside the component class.
Code from the video: https://github.com/prof3ssorSt3v3/cuddly-octo-couscous
Custom Web Component Playlist: https://www.youtube.com/playlist?list=PLyuRouwmQCjnENQk6NJlckZRXOfQP0x5B