| Crates.io | dioxus-use-document |
| lib.rs | dioxus-use-document |
| version | 0.2.0 |
| created_at | 2023-03-07 05:10:42.636879+00 |
| updated_at | 2023-03-07 05:10:42.636879+00 |
| description | `use_head` hooks for dioxus |
| homepage | |
| repository | https://github.com/oovm/dioxus-hooks |
| max_upload_size | |
| id | 803302 |
| size | 6,077 |
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.