jkroso

jkroso/viewport

Represents the browsers view port and emits events when it changes state

HTML
1
2
MIT License

This project, `jkroso/viewport`, provides a way to track the browser's viewport size as a continuous stream of data. It's designed for web developers who need to react to changes in the viewport—like resizing—to dynamically adjust their website's layout or behavior. Essentially, it simplifies responsive design implementation by offering a reactive viewport size API.

Total donated
Undistributed
Share with your subscribers: