#hook #dioxus #window #browser #iphone

dioxus-use-document

use_head hooks for dioxus

1 unstable release

0.2.0 Mar 7, 2023

#75 in #dioxus

MPL-2.0 license

6KB
128 lines

useClipboard

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.

Dependencies

~11MB
~209K SLoC