-
-
Notifications
You must be signed in to change notification settings - Fork 228
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Template-based importer (vs. using L.DomUtil) #1461
base: master
Are you sure you want to change the base?
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!