-
Notifications
You must be signed in to change notification settings - Fork 36
Closed
Labels
Description
WebComponents is made from few APIs supported natively on the browser. The two most relevant are Custom Elements and Shadow Dom.
The v0 specification for Custom Elements require just calling a bunch of functions to register elements and define attributes to it:
https://www.html5rocks.com/en/tutorials/webcomponents/customelements/
I believe some of them show be part of the opal-browser gem.
The next iteration on WebComponents is the CustomElements v1: https://developers.google.com/web/fundamentals/web-components/customelements
In order to support that, we need to be able to extend HTMLElement
and interact with the constructor
.
AFAIK this two are not support on Opal right now (hope we can have a workaround in the future).
MatheusRich