Skip to content

Commit

Permalink
docs: fix optional parameters on "timers" methods
Browse files Browse the repository at this point in the history
  • Loading branch information
drauggres authored and sgtcoolguy committed Feb 7, 2020
1 parent 958a6a3 commit 8a00014
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions apidoc/Global/Global.yml
Original file line number Diff line number Diff line change
Expand Up @@ -65,13 +65,15 @@ methods:
- name: timerId
summary: Unique timer identifier returned by [setInterval](Global.setInterval).
type: Number
optional: true

- name: clearTimeout
summary: Cancels a one-time timer.
parameters:
- name: timerId
summary: Unique timer identifier returned by [setTimeout](Global.setTimeout).
type: Number
optional: true

- name: decodeURIComponent
summary: |
Expand Down Expand Up @@ -240,6 +242,7 @@ methods:
- name: delay
summary: Time in milliseconds to wait between calls to function.
type: Number
optional: true
examples:
- title: Update a label once every second, and stop at 10 seconds
example: |
Expand Down Expand Up @@ -275,6 +278,7 @@ methods:
- name: delay
summary: Time in milliseconds to wait before the function is called.
type: Number
optional: true
examples:
- title: Execute a function in 500 milliseconds
example: |
Expand Down

0 comments on commit 8a00014

Please sign in to comment.