Better HN
top
new
best
ask
show
jobs
Log in
Sign up
Better HN
Comment
by
xigoi
· 4y ago · 0 comments
With templates, you can do things like template.querySelector("label").
Comments
[–]
quickthrower2
4y ago
True! that would be less elegant with the string, as you would need to make it effectively into a <template> or hidden div to do such a thing.