Template-based importer (vs. using L.DomUtil)#1461
Conversation
|
Templates are tempting, but I feel like until we need all those |
We might want to go a step further and turn that form into a web component in itself which is able to do its stuff ( I'd love to give it a try 😇 |
|
Sounds appealing! But what would be the browser support ? |
|
Custom elements are not fully baseline compliant :'( But it's coming! |
66fe0f7 to
773546d
Compare
b6dde8c to
6b75f6a
Compare
6b75f6a to
76d30e8
Compare
After a discussion with @almet we realized that it would be possible to write HTML in templates instead of building everything on the JS side using
L.DomUtil, this is a first small step to verify that it's both possible and pertinent.There are still some rough edges but let's discuss the direction in itself first!