sprinkles icon indicating copy to clipboard operation
sprinkles copied to clipboard

Show/hide/toggle helpers

Open avand opened this issue 8 years ago • 0 comments

There's a clever solution I cooked up to make it super easy to show and hide content when you click on stuff. The basic idea is to add an attribute to an element like data-show="#whatever" to an element. Then when that element is clicked, it makes #whatever appear. I've got some source code to reference but these are pretty light-weight but very useful helpers.

avand avatar Jul 16 '16 01:07 avand