Commit graph

391 commits

Author SHA1 Message Date
Marc-Stefan Cassola
5c0503d022
Merge pull request #69 from rakshith-ravi/feature/use-cookie
Added use-cookie
2024-01-23 15:18:25 +00:00
Rakshith Ravi
84cc04430a Added one-liner for use-cookie 2024-01-22 07:56:42 +05:30
Rakshith Ravi
7bd54edb2d Fixed dependency issue
Added documentation
2024-01-22 07:54:47 +05:30
Maccesch
7811fa7f2d The document returned from use_document now supports the methods query_selector and query_selector_all 2024-01-21 18:35:20 +00:00
Maccesch
58395be22b some more ElementMaybeSignal conversions and some minor code improvements 2024-01-21 18:33:54 +00:00
Maccesch
07f592b222 fixed use_intl_number_format fraction digits option 2024-01-21 18:32:12 +00:00
Rakshith Ravi
73cad742f1 Added use-cookie
TODO docs
2024-01-21 17:37:13 +05:30
Maccesch
1e9e03feb8 fixed use_geolocation SSR
fixes #66
2024-01-16 11:24:52 +00:00
Maccesch
37f4a928c9 Fixed compile errors 2024-01-16 10:24:49 +00:00
Maccesch
752cf1f832 Throttled or debounced callbacks (in watch_* or *_fn) no longer are called after the containing scope was cleaned up.
Closes #63
2024-01-10 23:50:52 +00:00
Maccesch
84396b7675 implemented various conversions for Element(s)MaybeSignal
closes #48
2024-01-10 23:37:32 +00:00
Maccesch
ffff14ea9c added use_mouse_in_element 2024-01-03 22:52:59 +00:00
Maccesch
34c913caae added ssr to use_element_bounding 2024-01-03 21:11:28 +00:00
Maccesch
d9ff05afea chore: rustfmt 2024-01-03 20:58:03 +00:00
Maccesch
00af363f35 Merge remote-tracking branch 'origin/main'
# Conflicts:
#	CHANGELOG.md
2024-01-03 20:52:59 +00:00
Maccesch
de39dc1154 implemented use_element_bounding 2024-01-03 20:51:33 +00:00
Álvaro Mondéjar Rubio
c2a48631aa Add use_device_pixel_ratio 2024-01-01 19:29:03 +01:00
Maccesch
9529733d64 started use_element_bounding 2023-12-13 14:58:07 +00:00
Maccesch
461935ca6b added bin codec 2023-12-12 14:53:49 +00:00
Maccesch
52a72a7f87 Merge branch 'main' into use_webtransport
# Conflicts:
#	.cargo/config.toml
#	.idea/leptos-use.iml
#	Cargo.toml
#	src/lib.rs
2023-12-11 22:10:36 +00:00
Maccesch
bc87a3015d small docs improvement for use_color_mode 2023-12-11 19:13:16 +00:00
Maccesch
cf86471219 small docs improvement for use_color_mode 2023-12-09 15:20:18 +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
68116b8791 fixes #57 (use_idle) 2023-12-05 23:32:51 +00:00
Maccesch
bb5054d403 made display media api closer to solidjs-use and rest of library 2023-12-05 23:12:31 +00:00
Marc-Stefan Cassola
b8567a5f96
Merge pull request #56 from seanaye/seanaye/use_display_media
seanaye/use display media
2023-12-04 19:40:22 +00:00
Sean Aye
50c3e14f77 update example 2023-11-30 08:01:08 -05:00
Sean Aye
6c5d9e6f57 update doc comment 2023-11-29 18:55:22 -05:00
Sean Aye
ba6082a32f implement changes 2023-11-29 18:52:39 -05:00
Sean Aye
f34e62fb6b fix the example via template 2023-11-24 15:23:30 -05:00
Sean Aye
cd0be5ac62 add use_display_media 2023-11-24 15:06:35 -05:00
Lukas Potthast
1d50df3ede Remove logging of WS url 2023-11-24 17:41:25 +01:00
Maccesch
b7a3ac554b debounced on_scroll_end in use_scroll now uses try_get_untracked in case the context has been destroyed before it is called.
Fixes #51
2023-11-15 23:57:17 +00:00
Maccesch
2d65c60bf1 removed double call of infinite scroll callback
Fixes #50
2023-11-15 23:45:51 +00:00
Maccesch
4a4feefbfc removed warnings because of get/get_untracked 2023-11-15 23:19:11 +00:00
Maccesch
28ab799156 removed warnings and fixed examples 2023-11-13 00:20:58 +00:00
Maccesch
796ea23ddf restored use_storage demo 2023-11-12 23:07:10 +00:00
Maccesch
b26459986e brought back use_storage 2023-11-12 22:50:59 +00:00
Joshua McQuistan
99803a9bcb Organise storage docs for mdbook 2023-11-11 13:15:13 +00:00
Joshua McQuistan
cf33e317a6 Rename use_storage.rs to align with mdbook reference 2023-11-11 12:56:32 +00:00
Joshua McQuistan
94841e4bb5 Document fields on UseStorageOptions 2023-11-11 11:05:29 +00:00
Joshua McQuistan
93556a3f8f Fix clippy lint. Remove needless borrow 2023-11-11 10:56:46 +00:00
Joshua McQuistan
2976d4c033 Fix clippy lints 2023-11-11 10:51:23 +00:00
feral-dot-io
776479cafe
Merge branch 'main' into main 2023-11-11 10:34:32 +00:00
Marc-Stefan Cassola
1a9c98c36e
Merge pull request #44 from feral-dot-io/resize
Remove use of --cfg=web_sys_unstable_apis
2023-11-10 21:00:47 +00:00
Joshua McQuistan
1d08beaa3e Problem: clippy says Default impl can be derived 2023-11-10 18:13:56 +00:00
Maccesch
9c3970a950 Fixed SSR of use_timestamp, use_raf_fn and use_idle
Fixes #45
2023-11-09 23:26:47 +00:00
Joshua McQuistan
40b369d36a Remove use of --cfg=web_sys_unstable_apis 2023-11-07 10:13:55 +00:00
Joshua McQuistan
808e97c072 Add JSON versioning docs + examples 2023-11-04 15:44:09 +00:00