Introduction
Toggle the visibility of a block-level selector from a button located anywhere in the DOM.
The Collapse Relationship
The collapse mechanism establishes a relationship between a button and its target selctor. With each button press, the target's visibility toggles between show and hide.
Line # | Details |
---|---|
3-4 | On a The |
9-10 | The It initially hides the target selector. The |