aboutsummaryrefslogtreecommitdiff
path: root/files/ru/web/api/serviceworkerregistration/shownotification/index.html
diff options
context:
space:
mode:
Diffstat (limited to 'files/ru/web/api/serviceworkerregistration/shownotification/index.html')
-rw-r--r--files/ru/web/api/serviceworkerregistration/shownotification/index.html2
1 files changed, 1 insertions, 1 deletions
diff --git a/files/ru/web/api/serviceworkerregistration/shownotification/index.html b/files/ru/web/api/serviceworkerregistration/shownotification/index.html
index fdcd0943fc..1be41dab02 100644
--- a/files/ru/web/api/serviceworkerregistration/shownotification/index.html
+++ b/files/ru/web/api/serviceworkerregistration/shownotification/index.html
@@ -43,7 +43,7 @@ translation_of: Web/API/ServiceWorkerRegistration/showNotification
<li><code>renotify</code>: A boolean that indicates whether to supress vibrations and audible alerts when resusing a <code>tag</code> value. The default is false.</li>
<li><code>requireInteraction</code>: Indicates that on devices with sufficiently large screens, a notification should remain active until the user clicks or dismisses it. If this value is absent or false, the desktop version of Chrome will auto-minimize notifications after approximately twenty seconds. The default value is <code>false</code>.</li>
<li><code>tag</code>: An ID for a given notification that allows you to find, replace, or remove the notification using script if necessary.</li>
- <li><code>vibrate</code>: Шаблон вибрации, которая будет воспроизведена вместе с уведомлением. Шаблон может быть массивом из как минимум одного элемента. Значения элементов это время в миллисекундах, при этом четные элементы (0, 2, 4, и т.д.) отражают периоды вибрации, а нечетные периоды пауз. Например, <code>[300, 100, 400]</code> будет означать вибрацию 300ms, паузу 100ms, затем вибрацию 400ms.</li>
+ <li><code>vibrate</code>: Шаблон вибрации, которая будет воспроизведена вместе с уведомлением. Шаблон может быть массивом из как минимум одного элемента. Значения элементов это время в миллисекундах, при этом чётные элементы (0, 2, 4, и т.д.) отражают периоды вибрации, а нечётные периоды пауз. Например, <code>[300, 100, 400]</code> будет означать вибрацию 300ms, паузу 100ms, затем вибрацию 400ms.</li>
<li><code>data</code>: Arbitrary data that you want associated with the notification. This can be of any data type.</li>
</ul>
</dd>