dioxus-use-window

Crates.iodioxus-use-window
lib.rsdioxus-use-window
version0.7.0
sourcesrc
created_at2022-02-10 11:10:59.82149
updated_at2023-03-07 05:07:39.249854
description`use_window` hooks for dioxus
homepage
repositoryhttps://github.com/oovm/dioxus-hooks
max_upload_size
id530212
size26,820
YuKun Liu (mrxiaozhuox)

documentation

https://docs.rs/dioxus-use-window

README

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.

Commit count: 51

cargo fmt