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§
- UseBrowser
- Window height effect handler
- UseWindow
- Window size effect handler
- UseWindow
Builder - Build window size hook with config
- UseWindow
Height - Window height effect handler
- UseWindow
Layout - Window layout effect handler
- UseWindow
Width - Window width effect handler
Enums§
- Responsive
Layout - Responsive layout system for mainstream screen
Functions§
- use_
browser - hooks for window’s size
- use_
responsive_ layout - hooks for window’s layout
- use_
window_ height - hooks for window’s height
- use_
window_ layout - hooks for window’s layout
- use_
window_ size - hooks for window’s size
- use_
window_ width - hooks for window’s width