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