Commit graph

15 commits

Author SHA1 Message Date
Hector Candelaria
4ff32e7dce Docs: Correct default value for silent field
- Updated comments to reflect that the default value for `silent` is
  `null`, not `false`.
2024-08-21 21:54:03 -04:00
Hector Candelaria
9cb0e386aa Feat: Add vibrate field to use_web_notification
- Implemented `vibrate` option in `UseWebNotificationOptions` and
  `ShowOptions` structures allowing specifying vibration patterns for
  notifications.
2024-08-21 21:54:03 -04:00
Maccesch
d4330c9fb1 use_local now uses LanguageIdentifier and proper matching.
Also removed a bunch of deprecated warnings.

Closes #144
2024-08-13 13:45:36 +01:00
Maccesch
294cbaf222 updated to latest version of web_sys 2024-08-13 02:10:35 +01:00
Baptiste
6d0e946b5a
fixed a error for a match on a non exhaustive enum 2024-08-13 02:40:46 +02:00
Hector Candelaria
2a8a2b81e4 Doc: fixed typo 2024-08-01 01:15:37 -04:00
Hector Candelaria
f37f28cfff Feat: Add image field to UseWebNotificationOptions and ShowOptions
Added the `image` field to the `UseWebNotificationOptions` and `ShowOptions` structures.
This field allows specifying an image URL to be displayed in the notification.
2024-07-31 23:11:33 -04:00
Hector Candelaria
88af0e735d Feat: Add silent field to UseWebNotificationOptions and ShowOptions
Introduced the `silent` field to the `UseWebNotificationOptions` and `ShowOptions` structures,
allowing notifications to be displayed in silent.
2024-07-31 22:18:58 -04:00
Hector Candelaria
0b6903fccc Feat: Add renotify field to UseWebNotificationOptions and ShowOptions
Uncommented the existing `renotify` code.
2024-07-31 21:47:38 -04:00
Maccesch
7216a3281c wrapped callbacks in non-reactive zones to remove potential warnings 2024-02-27 00:02:37 +00:00
Maccesch
27f516898c added use_clipboard, use_permission, use_timeout_fn
closes #72
2024-02-09 03:18:53 +00:00
Maccesch
72b6f31378 added ssr docs to use_web_notification 2023-12-06 00:39:53 +00:00
Maccesch
5f5779ed10 use_web_notification is now SSR-safe.
relates to #46
2023-12-06 00:10:33 +00:00
Maccesch
8c2beb814d release 0.8.0 2023-10-24 00:52:06 -05:00
Maccesch
cd67ca5542 added use_web_notification 2023-10-23 23:49:11 -05:00