Skip to content
On this page

useWinResize

Hook listening for Windows size changes

代码演示

API

useWinResize(
  handler: (ev: Event) => void,
);
useWinResize(
  handler: (ev: Event) => void,
);

Params

PropertyDescriptionTypeDefault
handler处理函数(ev: Event) => void-

Source

SourceDocsDemo