Hy Eckehard
In a module you cant import whatever variables from another one, and use them without any prefix.
TodoListTutor
Feel free to correct :-)
Regards
PS : Have you considered turning DML UI Elment in customeElements ?
TodoListCE
No, we had a focus on long term compatibility (expect IE), CE had a limited support some years ago.
I try to keep modules as small as possible. But maybe somebody could write a wrapper as a separate module? On the other hand, what's the advantage?
For the CE , it was in fact to illustrate,how easy it was to create one. You can create a lib containing only DML-CE like Shoelace for CSS
But if IE is a concerned, you can look at a article I post WE which allows create CE without any polyfill that works even in IE.
People get easily overwhelmed with his contributions so it's best to always pass along:
I know, unfortunately. Thank you peerenders :-)
Are you sure you want to hide this comment? It will become hidden in your post, but will still be visible via the comment's permalink.
Hide child comments as well
Confirm
For further actions, you may consider blocking this person and/or reporting abuse
We're a place where coders share, stay up-to-date and grow their careers.
Hy Eckehard
In a module you cant import whatever variables from another one, and use them without any prefix.
TodoListTutor
Feel free to correct :-)
Regards
PS : Have you considered turning DML UI Elment in customeElements ?
TodoListCE
No, we had a focus on long term compatibility (expect IE), CE had a limited support some years ago.
I try to keep modules as small as possible. But maybe somebody could write a wrapper as a separate module? On the other hand, what's the advantage?
For the CE , it was in fact to illustrate,how easy it was to create one.
You can create a lib containing only DML-CE like Shoelace for CSS
But if IE is a concerned, you can look at a article I post WE
which allows create CE without any polyfill that works even in IE.
Regards
People get easily overwhelmed with his contributions so it's best to always pass along:
I know, unfortunately.
Thank you peerenders :-)