Similar to the
toggle handler, but it will detach the element from the DOM instead of just hiding it. Much like knockout's
<div data-bind="if: someCondition"></div>
someCondition can of course also be a computed property, so this gives you all flexibility you need.
Why not use just
toggle? Because selectors like
:first etc. won't work.