Skip to content

【资源帖】计时器使用 #441

@zptcsoft

Description

@zptcsoft
  1. setInterval 固定时间间隔执行某段代码或某个函数
  2. setTimeout 延迟固定时间执行某段代码或某个函数一次
  3. requestAnimationFrame 下一次重绘时(一般每秒60次)执行某段代码或函数

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions