mirror of
https://github.com/NativeScript/NativeScript.git
synced 2025-11-05 13:26:48 +08:00
chore: cleanup
This commit is contained in:
28
apps/automated/app/timer/timer.md
Normal file
28
apps/automated/app/timer/timer.md
Normal file
@@ -0,0 +1,28 @@
|
||||
---
|
||||
nav-title: "timer How-To"
|
||||
title: "timer"
|
||||
environment: nativescript
|
||||
description: "Examples for using timer"
|
||||
previous_url: /ApiReference/timer/HOW-TO
|
||||
---
|
||||
# Timer module
|
||||
### How to require timer module
|
||||
{%snippet timer-require%}
|
||||
|
||||
### Evaluates an expression after 0 milliseconds.
|
||||
{%snippet timer-set-zero%}
|
||||
|
||||
### Evaluates an expression after 0 milliseconds.
|
||||
{%snippet timer-set-zero-args%}
|
||||
|
||||
### Evaluates an expression after a specified number of milliseconds.
|
||||
{%snippet timer-set-ten%}
|
||||
|
||||
### Cancels the evaluation with the clearTimeout method.
|
||||
{%snippet timer-set-fifty%}
|
||||
|
||||
### Evaluates an expression each time a specified number of milliseconds has elapsed.
|
||||
{%snippet timer-set-expression%}
|
||||
|
||||
### Cancel the interval previously started using the setInterval method.
|
||||
{%snippet timer-set-interval%}
|
||||
Reference in New Issue
Block a user