choojs / nanocomponent

🚃 - create performant HTML components
https://leaflet.choo.io/
MIT License
366 stars 30 forks source link

set default id #28

Closed yoshuawuyts closed 7 years ago

yoshuawuyts commented 7 years ago

Nanomorph (will very soon) check for IDs in element lists. To prevent the placeholder element from accidentally being rendered, nanocomponent elements should always have an ID present.

if ._element has an id on it already, we don't modify it and will set it to our placeholder elements going forward.


yoshuawuyts commented 7 years ago

v4.0.1 :tada: