Crates.io | dioxus-use-navigator |
lib.rs | dioxus-use-navigator |
version | 0.2.0 |
source | src |
created_at | 2023-03-07 05:11:43.192077 |
updated_at | 2023-03-07 05:11:43.192077 |
description | `use_head` hooks for dioxus |
homepage | |
repository | https://github.com/oovm/dioxus-hooks |
max_upload_size | |
id | 803303 |
size | 8,045 |
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
.