Skip to content

vue-qs v0.1.18


vue-qs / RuntimeEnvironment

Type Alias: RuntimeEnvironment

RuntimeEnvironment = object

Defined in: types.ts:196

Runtime environment information Used to determine if we're running in a browser or server environment

Example

ts
const env: RuntimeEnvironment = {
  isBrowser: true,
  windowObject: window
};

Properties

isBrowser

isBrowser: boolean

Defined in: types.ts:198

Whether we're running in a browser environment


windowObject

windowObject: Window | null

Defined in: types.ts:200

Window object if available

Released under the MIT License.