sv-sizer

1.0.1 • Public • Published

SvSizer

A utility that fires a provided function for each defined breakpoint. Args passed into the function tell the function whether we are entering, leaving, or resizing withing the current breakpoint.

Used for bolting in and managing classes or other functions/methods based on viewport size where responsiveness is needed.

Dependencies (1)

Dev Dependencies (6)

Package Sidebar

Install

npm i sv-sizer

Weekly Downloads

2

Version

1.0.1

License

ISC

Unpacked Size

13.3 kB

Total Files

6

Last publish

Collaborators

  • cskyleryoung