Crates.io | dioxus-use-window |
lib.rs | dioxus-use-window |
version | 0.7.0 |
source | src |
created_at | 2022-02-10 11:10:59.82149 |
updated_at | 2023-03-07 05:07:39.249854 |
description | `use_window` hooks for dioxus |
homepage | |
repository | https://github.com/oovm/dioxus-hooks |
max_upload_size | |
id | 530212 |
size | 26,820 |
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
.