An exciting feature of the HTML specification that’s been getting a bit of hype recently is custom HTML elements. These allow you to create your own HTML elements along with their own JavaScript API. This can be useful when building interfaces with components that are reused throughout an application.
In this blog post you’re going to learn how to create your own HTML elements and define a JavaScript API for them.
* Creating Custom HTML Elements
* Creating a JavaScript API For Your Element
* Extending Existing Elements
* Custom Element Callback Methods
* Custom Elements with Shadow DOM
* Browser Support for Custom HTML Elements
* Final Thoughts
* Useful Links
Your new post is loading...