mirror of
https://github.com/adoyle0/leptos-use.git
synced 2025-01-23 00:59:22 -05:00
Doc: update vibrate
doc type to reflect new type
- Updated the `vibrate` type in the docs to Vec<u16>.
This commit is contained in:
parent
2443c695e9
commit
5133c0308c
1 changed files with 2 additions and 2 deletions
|
@ -281,7 +281,7 @@ pub struct UseWebNotificationOptions {
|
||||||
#[builder(into)]
|
#[builder(into)]
|
||||||
silent: Option<bool>,
|
silent: Option<bool>,
|
||||||
|
|
||||||
/// A JsValue array specifying the vibration pattern in which the device is vibrating and not vibrating.
|
/// A `Vec<u16>` value specifying the vibration pattern in which the device is vibrating and not vibrating.
|
||||||
#[builder(into)]
|
#[builder(into)]
|
||||||
vibrate: Option<Vec<u16>>,
|
vibrate: Option<Vec<u16>>,
|
||||||
|
|
||||||
|
@ -416,7 +416,7 @@ pub struct ShowOptions {
|
||||||
#[builder(into)]
|
#[builder(into)]
|
||||||
silent: Option<bool>,
|
silent: Option<bool>,
|
||||||
|
|
||||||
/// A JsValue array specifying the vibration pattern in which the device is vibrating and not vibrating.
|
/// A `Vec<u16>` value specifying the vibration pattern in which the device is vibrating and not vibrating.
|
||||||
#[builder(into)]
|
#[builder(into)]
|
||||||
vibrate: Option<Vec<u16>>,
|
vibrate: Option<Vec<u16>>,
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Reference in a new issue