pub struct SidebarTriggerProps {
pub open: Expr<bool>,
pub attrs: Attributes,
}Expand description
A sidebar toggle button. Pass its signal update as an @click attribute.
open controls the accessible expanded state. Set aria-controls in
attrs to the controlled panel’s ID. Responsive triggers can use separate
desktop and mobile expressions and handlers.
Fields§
§open: Expr<bool>§attrs: AttributesImplementations§
Source§impl SidebarTriggerProps
impl SidebarTriggerProps
Sourcepub fn builder() -> SidebarTriggerPropsBuilder
pub fn builder() -> SidebarTriggerPropsBuilder
Returns a SidebarTriggerPropsBuilder with no properties set.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for SidebarTriggerProps
impl RefUnwindSafe for SidebarTriggerProps
impl Send for SidebarTriggerProps
impl Sync for SidebarTriggerProps
impl Unpin for SidebarTriggerProps
impl UnsafeUnpin for SidebarTriggerProps
impl UnwindSafe for SidebarTriggerProps
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