pub struct EuvTabsProps {
pub items: Vec<EuvTabItem>,
pub active: Signal<String>,
}Expand description
Props for the euv_tabs component.
The selected tab lives in the caller-owned active signal so it survives
re-renders and can be shared with page-level state; the panel content is
supplied as children and is always mounted.
Fields§
§items: Vec<EuvTabItem>The tab entries rendered in the bar, in display order.
active: Signal<String>The key of the selected tab (drives the _active tab class).
Trait Implementations§
Source§impl Clone for EuvTabsProps
impl Clone for EuvTabsProps
Source§impl Debug for EuvTabsProps
impl Debug for EuvTabsProps
Auto Trait Implementations§
impl Freeze for EuvTabsProps
impl RefUnwindSafe for EuvTabsProps
impl Send for EuvTabsProps
impl Sync for EuvTabsProps
impl Unpin for EuvTabsProps
impl UnsafeUnpin for EuvTabsProps
impl UnwindSafe for EuvTabsProps
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