What I usually see when we have DOM elements we want to show or hide dynamically is to have a display property on them (not just shove them outside the view 🙏 ).
For example:
<p v-if=isLoading > loading... please wait </p>
render() { return this.isLoading && (<p>loading ... please wait</p>);
(full stack dev here, FYI, so my FE well...)
Oh yes, I completely missed this. Let me think of this how it will be achieved as target element is required to pass the in observe method.
observe
Are you sure you want to hide this comment? It will become hidden in your post, but will still be visible via the comment's permalink.
Hide child comments as well
Confirm
For further actions, you may consider blocking this person and/or reporting abuse
We're a place where coders share, stay up-to-date and grow their careers.
What I usually see when we have DOM elements we want to show or hide dynamically is to have a display property on them (not just shove them outside the view 🙏 ).
For example:
(full stack dev here, FYI, so my FE well...)
Oh yes, I completely missed this. Let me think of this how it will be achieved as target element is required to pass the in
observe
method.