Better HN
top
new
best
ask
show
jobs
Log in
Sign up
Better HN
Comment
by
realPubkey
· 8y ago · 0 comments
Why creating an element and afterwards setting it to invisible, will never end with a 'blinking' element.
Comments
[–]
a_t48
8y ago
Not a JS Engineer - is it because the DOM isn't updated until the script yields?
[–]
localvoid
8y ago
To make element visible, you need to attach it to the document :)
[–]
dzek69
8y ago
Nice one