3 ms·
Seems like you'd have to include all possible components and toggle them based on a variable. It doesn't seem like you can apply an if attribute to a component
by insin 12y ago
Seems like you'd have to include all possible components and toggle them based on a variable.
It doesn't seem like you can apply an if attribute to a component directly - the second component here never disappears, but the first is wrapped in a <div> and does:
http://bl.ocks.org/insin/5e0bf04cf1f701c235ad http://bl.ocks.org/insin/5e0bf04cf1f701c235ad
- jasim 12y agoThanks a lot, this clarifies it. Having only CSS based hiding of components (and only if wrapped within a div) is a bummer. I am curious to know how the authors plan to work around it for serious app development.