add 添加计时器到列表
add
类型: MethodDeclaration
所属类: Timer
定义位置: time.ts
描述
添加计时器到列表
返回值:当前计时器
返回值
类型: this
当前计时器
源代码
位置: 第 208 行
public add(): this {
    switch (this.mode) {
      case 'scaled':
        Timer.scaledTimers.append(this)
        return this
      case 'raw':
        Timer.rawTimers.append(this)
        return this
    }
  }
文档生成时间:2025/7/21 20:53:39