Files
NativeScript/apps/tests/timer.md
Erjan Gavalji f15f283c74 Reorder test file structure to match the modules
Needed to have a nice structured cookbook dir in the docs

Includes:
Move the data-module tests under the data dir
Move the frame tests under the ui dir
Rename the dialog.md file to dialogs.md
Fix the web-view title
Add previous_url attributes to each article for SEO
Rename the style dir to styling to match the reference
Fix the frame-tests path
2016-05-05 10:43:35 +03:00

25 lines
728 B
Markdown

---
nav-title: "timer How-To"
title: "timer"
description: "Examples for using timer"
previous_url: /ApiReference/timer/HOW-TO
---
# Timer module
### How to require timer module
<snippet id='timer-require'/>
### Evaluates an expression after 0 milliseconds.
<snippet id='timer-set-zero'/>
### Evaluates an expression after a specified number of milliseconds.
<snippet id='timer-set-fivehundred'/>
### Cancels the evaluation with the clearTimeout method.
<snippet id='timer-set-twothousands'/>
### Evaluates an expression each time a specified number of milliseconds has elapsed.
<snippet id='timer-set-expression'/>
### Cancel the interval previously started using the setInterval method.
<snippet id='timer-set-interval'/>