目录

Window

Starting from version 1078, the API prefix has been changed from hbs to qg. The original prefix hbs is still supported.

Definition

API

Description

qg.onWindowResize(function callback)

Listens for the window resize event. For example, it is triggered when a user expands, folds, or rotates the device.

qg.offWindowResize(function callback)

Removes the listener function for the window resize event.

[h2]qg.onWindowResize(function callback)

[h2]qg.offWindowResize(function callback)