aglsv

ts 里面如何调用 window.onresize

  •  
  •   aglsv · Dec 7, 2021 · 2166 views
    This topic created in 1660 days ago, the information mentioned may be changed or developed.

    我想写一个window.onresize事件来监听一下窗口的变化,从而更改一些参数,不过没太搞懂 ts 里面该怎么写啊,我写在 class 外面的话该如何调用里面定义的数据呢

    No Comments Yet
    About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Solana   ·   1617 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 27ms · UTC 16:29 · PVG 00:29 · LAX 09:29 · JFK 12:29
    ♥ Do have faith in what you're doing.