Skip to main content
Version: Next

Taro.offWindowResize(callback)

Un-listens on the window size change event.

Reference

Type

(callback: Callback) => void

Parameters

Callback

The callback function for the window size change event.

(res: CallbackResult) => void
PropertyType
resCallbackResult

API Support

APIWeChat Mini-ProgramH5React Native
Taro.offWindowResize✔️✔️✔️