Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
msigley authored Apr 12, 2022
1 parent a63358e commit 7287b7d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,9 @@ A small library for show and hiding elements written in Vanilla JS

# Features
* Uses M height calculation to allow the links or buttons used to show/hide the content to be inside of the parent container.
** Uses a ResizeObserver and animation frames to recalculate the M height on window resize.
* Uses a ResizeObserver and animation frames to recalculate the M height on window resize.
* Doesn't hide content using display: none.
** This prevents layout issues from hiding content.
* This prevents layout issues from hiding content.

# Functions
## Element.prototype.showHide( object args )
Expand Down

0 comments on commit 7287b7d

Please sign in to comment.