JavaScript UI Libraries & Blazor Components Suite – Smart UI › Forums › Tooltip › create a tooltip template using jScript › Reply To: create a tooltip template using jScript
October 12, 2023 at 8:28 am
#108956
svetoslav_borislavov
Participant
Hi,
When you create a template element js, you should put the children inside the content.
Ex. tmpTemplate.content.appendChild(tmpDiv);
Here is your demo now working: https://codepen.io/dkeamcaksoem/pen/abPMXqb
Best Regards,
Svetoslav Borislavov
Smart UI Team
https://www.htmlelements.com/