Is there any way to do the jquery wrapInner() to add items inside an unordered list but with Vanilla javascript, if I could use jquery I would use something like $('li').wrapInner(''); but I can not use jquery,…
I would like to implement an Angular 2 directive that behaves like jQuery's wrapInner method.
The library I'm writing will use angular 2+ only (no jQuery).
Basically, the directive will take the content of the element or component it has been…