From 8a0001478a94c9714f8b9b68e96c96ad1b5db50b Mon Sep 17 00:00:00 2001 From: Sergey Volkov Date: Wed, 5 Feb 2020 15:36:20 +0300 Subject: [PATCH] docs: fix optional parameters on "timers" methods --- apidoc/Global/Global.yml | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/apidoc/Global/Global.yml b/apidoc/Global/Global.yml index 790e2aee34b..635a8702ce6 100644 --- a/apidoc/Global/Global.yml +++ b/apidoc/Global/Global.yml @@ -65,6 +65,7 @@ methods: - name: timerId summary: Unique timer identifier returned by [setInterval](Global.setInterval). type: Number + optional: true - name: clearTimeout summary: Cancels a one-time timer. @@ -72,6 +73,7 @@ methods: - name: timerId summary: Unique timer identifier returned by [setTimeout](Global.setTimeout). type: Number + optional: true - name: decodeURIComponent summary: | @@ -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: | @@ -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: |