API
Component

Timer ($UI/wxsys/comps/timer/timer)

使用范围:WX

Contents

component Timer ($UI/wxsys/comps/timer/timer) extends Component

<b>使用场景</b>:定时执行任务 <b>使用方法</b>:添加后显示在功能组件中,在计时器启动后,定时触发“计时器事件” ## <b>文档链接</b>:#http://docs.newdao.net/xiao-cheng-xu-gao-ji-zu-jian-2014-ycw/ji-shi-qi.html#

Constructor Top

  Timer ()
  Timer ( config)

Methods Top

void pause ()
void start ()
void stop ()

Operations Top

void timerPause ()
void timerStart ()
void timerStop ()

Constructor details Top

public Timer ()

<b>使用场景</b>:定时执行任务 <b>使用方法</b>:添加后显示在功能组件中,在计时器启动后,定时触发“计时器事件” ## <b>文档链接</b>:#http://docs.newdao.net/xiao-cheng-xu-gao-ji-zu-jian-2014-ycw/ji-shi-qi.html#

public Timer ( config)

构造函数

Inherited from Operational

Parameters

config

操作配置

Methods Detail Top

public void pause ()

定时器任务暂停

Return Value

void

public void start ()

定时器任务开始

Return Value

void

public void stop ()

定时器任务停止

Return Value

void

Operations Detail Top

public void timerPause ()

定时器任务暂停

Return Value

void

public void timerStart ()

定时器任务开始

Return Value

void

public void timerStop ()

定时器任务停止

Return Value

void