Expand description

useWindow

A really common need is to get the current size of the browser window.

This hook returns an object containing the window’s width and height.

If executed server-side (no window object) the value of width and height will be regard as iPhone X.

Structs

Window height effect handler

Window layout effect handler

Window size effect handler

Window width effect handler

Enums

Responsive layout system for mainstream screen

Functions

hooks for window’s height

hooks for window’s width

hooks for window’s layout

hooks for window’s size