Hi
How can one create and use the customElements Web Api? I have done a log of BANano.Window, this is accessible but not sure how I can use it with BANano.
This will help in creating my own html tags or extend existing ones. Am thinking about the HTML part of the component be defined via a layout perhaps?
Any help will be appreciated?
Thanks in advance.
PS: Reference
How can one create and use the customElements Web Api? I have done a log of BANano.Window, this is accessible but not sure how I can use it with BANano.
This will help in creating my own html tags or extend existing ones. Am thinking about the HTML part of the component be defined via a layout perhaps?
Any help will be appreciated?
Thanks in advance.
PS: Reference
Custom Elements v1 - Reusable Web Components | Articles | web.dev
Custom elements allow web developers to define new HTML tags, extend existing ones, and create reusable web components.
web.dev
Last edited: