A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://Tarektouati.github.io/vue-use-web/functions/window-size.html below:

Website Navigation


Window Size | useWeb

# Window Size

This API provides access to the width and height of the browser window.

# State

The useWindowSize function exposes the following reactive state:

State Type Description width Number The client window width in pixels. height Number The client window height in pixels.

Note!

By default the updates to the state are throttled by 100ms to keep things snappy but you can configure that.

# Config

useWindowSize function takes an options object as an optional parameter.

Config Type Description throttleMs Number The debounce rate of the updates to the state. # Example

RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4