Hello! Is it possible to use web components? Let’s...
# compose-web
s
Hello! Is it possible to use web components? Let’s say I want to use leaflet as a web component, I need it to be something like:
Copy code
<leaflet-map fit-to-markers>
  <leaflet-marker longitude="77.2" latitude="28.4">
        Marker I
  </leaflet-marker>
  <leaflet-circle longitude="77.2" latitude="28.4" radius="300">
    Round
  </leaflet-circle>
</leaflet-map>
How could I generated those custom tags? Thanks
b
Of course. Inspect the chain of how any html composable is created (e.g. div) and eventually you'll find a Tag function for creation of arbitrary html tags
s
Thanks ! I’ll try to find that