Taro.offWindowResize(callback)
Un-listens on the window size change event.
Type
(callback: Callback) => void
Parameters
Callback
The callback function for the window size change event.
(res: CallbackResult) => void
Property | Type |
---|---|
res | CallbackResult |
API Support
API | WeChat Mini-Program | H5 | React Native |
---|---|---|---|
Taro.offWindowResize | ✔️ | ✔️ | ✔️ |