pub struct Clicks<'a> {
pub bucket: Option<&'a Signal<String>>,
pub project: Option<&'a Signal<String>>,
}Expand description
What a click on a bar or slice does.
- Live (runtime available): the handler sets the page’s selection signals; the shard re-renders in place, so CSS transitions animate the change.
- Static: every bar and slice is a link to the same page with the new
selection in the query string (
baseis that page’s URL without it).
Fields§
§bucket: Option<&'a Signal<String>>§project: Option<&'a Signal<String>>Trait Implementations§
Auto Trait Implementations§
impl<'a> Freeze for Clicks<'a>
impl<'a> RefUnwindSafe for Clicks<'a>
impl<'a> Send for Clicks<'a>
impl<'a> Sync for Clicks<'a>
impl<'a> Unpin for Clicks<'a>
impl<'a> UnsafeUnpin for Clicks<'a>
impl<'a> UnwindSafe for Clicks<'a>
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more