pub struct EuvSidebarItemProps {
pub route_signal: Signal<String>,
pub collapsed: Signal<Vec<String>>,
pub item: EuvSidebarItem,
pub prefix: String,
pub on_navigate: Option<Rc<dyn Fn(&'static str)>>,
}Expand description
Props of the euv_sidebar_item component.
Fields§
§route_signal: Signal<String>The current route signal.
collapsed: Signal<Vec<String>>The collapsed group keys.
item: EuvSidebarItemThe item to render.
prefix: StringThe group key prefix of the parent.
Optional navigation interceptor (see EuvSidebarProps::on_navigate).
Trait Implementations§
Source§impl Clone for EuvSidebarItemProps
impl Clone for EuvSidebarItemProps
Source§impl Debug for EuvSidebarItemProps
impl Debug for EuvSidebarItemProps
Auto Trait Implementations§
impl !RefUnwindSafe for EuvSidebarItemProps
impl !Send for EuvSidebarItemProps
impl !Sync for EuvSidebarItemProps
impl !UnwindSafe for EuvSidebarItemProps
impl Freeze for EuvSidebarItemProps
impl Unpin for EuvSidebarItemProps
impl UnsafeUnpin for EuvSidebarItemProps
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