Please see this video for a working example of adding custom attributes to an HTML element in Stencil.
• Adding Custom HTML Attributes with StencilJS
Web components are the next big wave in web / app development and in this live stream we are going to build our new site live to show their power. We will be using StencilJS to help build web components, Ionic Core for UI, and good ole fashioned JavaScript.
If you missed the last cast on sharing your StencilJS components via NPM then here is the link so you can catch up:
• Episode 9 - Using NPM to share your Stenci...
=== RESOURCES ===
Project in the Video
https://github.com/madnesslabs/madnes...
StencilJS
https://stenciljs.com
Ionic Framework
https://ionicframework.com/docs/compo...
MadnessEnjinCLI
https://www.npmjs.com/package/madness...
Our Patreon
/ madnesslabs