Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
rozsival committed Feb 13, 2020
1 parent 35e5fcd commit 45565d4
Showing 1 changed file with 7 additions and 7 deletions.
14 changes: 7 additions & 7 deletions README.md
Expand Up @@ -35,10 +35,10 @@ timer(() => alert('Hello!'), 500, true);

The returned object exposes following functions:

- **`clear: void`** – clears the timeout
- **`pause: number`** – pauses the timeout, returns remaining time
- **`remains: number`** – returns remaining time
- **`restart: void`** – clears and starts the timeout over again
- **`resume: void`** – resumes the timeout (or starts if not running)
- **`running: boolean`** – returns whether the timeout is running at the moment
- **`start: void`** – starts the timeout (or resumes if paused)
- **`clear(): void`** – clears the timeout
- **`pause(): number`** – pauses the timeout, returns remaining time
- **`remains(): number`** – returns remaining time
- **`restart(): void`** – clears and starts the timeout over again
- **`resume(): void`** – resumes the timeout (or starts if not running)
- **`running(): boolean`** – returns whether the timeout is running at the moment
- **`start(): void`** – starts the timeout (or resumes if paused)

0 comments on commit 45565d4

Please sign in to comment.