hidden-brick
Lego plugin to hide/show dom elements.
Installation
with component:
$ component install bredele/hidden-brick
with nodejs:
$ component install hidden-brick
Usage
First, add the plugin to your view (see lego to know more about views):
view;
Basic
hide on truethyshow on truethy
Listen changes on bool
attribute of lego's view and apply hidden
class.
see live example
License
MIT