mirror of
https://github.com/adoyle0/leptos-use.git
synced 2025-01-23 09:09:21 -05:00
Merge pull request #131 from bicarlsen/feat/track_caller
This commit is contained in:
commit
85376f8165
1 changed files with 2 additions and 0 deletions
|
@ -8,6 +8,7 @@ macro_rules! signal_filtered {
|
||||||
) => {
|
) => {
|
||||||
paste! {
|
paste! {
|
||||||
$(#[$outer])*
|
$(#[$outer])*
|
||||||
|
#[track_caller]
|
||||||
pub fn [<signal_ $filter_name d>]<S, T>(
|
pub fn [<signal_ $filter_name d>]<S, T>(
|
||||||
value: S,
|
value: S,
|
||||||
ms: impl Into<MaybeSignal<f64>> + 'static,
|
ms: impl Into<MaybeSignal<f64>> + 'static,
|
||||||
|
@ -27,6 +28,7 @@ macro_rules! signal_filtered {
|
||||||
/// See
|
/// See
|
||||||
#[$simple_func_doc]
|
#[$simple_func_doc]
|
||||||
/// for how to use.
|
/// for how to use.
|
||||||
|
#[track_caller]
|
||||||
pub fn [<signal_ $filter_name d_with_options>]<S, T>(
|
pub fn [<signal_ $filter_name d_with_options>]<S, T>(
|
||||||
value: S,
|
value: S,
|
||||||
ms: impl Into<MaybeSignal<f64>> + 'static,
|
ms: impl Into<MaybeSignal<f64>> + 'static,
|
||||||
|
|
Loading…
Add table
Reference in a new issue