tag name of the element to create
insert if SignalLike evalutes to true, otherwise ignore
Optional
where: InsertPosition = 'beforeend'position to insert the template relative to the target element ('beforebegin', 'afterbegin', 'beforeend', 'afterend')
Optional
attributes: Record<string, string> = {}attributes to set on the element
Optional
text: stringtext content to set on the element
Create an element with a given tag name and optionally set its attributes
Since
0.11.0