From 5133c0308c847e3283d8bc6208826c5d91b2c879 Mon Sep 17 00:00:00 2001 From: Hector Candelaria Date: Fri, 23 Aug 2024 00:01:25 -0400 Subject: [PATCH] Doc: update `vibrate` doc type to reflect new type - Updated the `vibrate` type in the docs to Vec. --- src/use_web_notification.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/use_web_notification.rs b/src/use_web_notification.rs index 0a3cefb..fd730d6 100644 --- a/src/use_web_notification.rs +++ b/src/use_web_notification.rs @@ -281,7 +281,7 @@ pub struct UseWebNotificationOptions { #[builder(into)] silent: Option, - /// A JsValue array specifying the vibration pattern in which the device is vibrating and not vibrating. + /// A `Vec` value specifying the vibration pattern in which the device is vibrating and not vibrating. #[builder(into)] vibrate: Option>, @@ -416,7 +416,7 @@ pub struct ShowOptions { #[builder(into)] silent: Option, - /// A JsValue array specifying the vibration pattern in which the device is vibrating and not vibrating. + /// A `Vec` value specifying the vibration pattern in which the device is vibrating and not vibrating. #[builder(into)] vibrate: Option>, }