how-tos made with markdown snippet injector

This commit is contained in:
Nikolay Iliev
2016-04-14 15:20:35 +03:00
parent 5ceeb7fddd
commit 89fad4f41c
43 changed files with 1207 additions and 1116 deletions

23
apps/tests/timer.md Normal file
View File

@@ -0,0 +1,23 @@
---
nav-title: "timer How-To"
title: "How-To"
description: "Examples for using timer"
---
# 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'/>