aglsv

ts 里面如何调用 window.onresize

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

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

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