Book Image

Learn Practical Web Components Quickly [Video]

By : Rushabh Shah
Book Image

Learn Practical Web Components Quickly [Video]

By: Rushabh Shah

Overview of this book

As a developer, haven't you often suffered from writing too much code? More often than not, you rewrite the same piece of code for different pages and end up wasting precious time you could have used more productively . . . In this course, we introduce you to the world of web components, a fairly new concept that has simplified coding for web developers. Web components allow you to create custom and reusable HTML tags that will work across modern web browsers and can be used with any JavaScript library or web framework that works with HTML. After working through this course, you will be ready to develop production-ready web component applications! You will be able to build your own custom components that can be reused again and again. Moreover, you will also be able to share your custom components with other developers. To benefit fully from this course, you need to have at least a basic idea of ES6 concepts such as const, let, classes, map, filters, and so on. A basic understanding of JavaScript frameworks such as Angular, React, and Vue would be beneficial in order to gain a full understanding of web component integration aspects. The code files for this course are available here: https://github.com/PacktPublishing/Learn-Practical-Web-Components-Only
Table of Contents (4 chapters)
Chapter 3
Event Listeners and Web Components
Content Locked
Section 3
Configuring Custom Events
Create a custom event and configure it.