pub struct ModalBuilder {
pub open: Option<Signal<bool>>,
pub title: Option<&'static str>,
pub description: Option<&'static str>,
pub children: Option<Vec<NodeBlueprint>>,
pub class: Option<&'static str>,
pub __strata_key: Option<String>,
}Fields§
§open: Option<Signal<bool>>§title: Option<&'static str>§description: Option<&'static str>§children: Option<Vec<NodeBlueprint>>§class: Option<&'static str>§__strata_key: Option<String>Implementations§
Source§impl ModalBuilder
impl ModalBuilder
pub fn open(self, val: impl Into<Signal<bool>>) -> Self
pub fn title(self, val: impl Into<&'static str>) -> Self
pub fn description(self, val: impl Into<Option<&'static str>>) -> Self
pub fn children( self, val: impl IntoChildren<Option<Vec<NodeBlueprint>>>, ) -> Self
pub fn class(self, val: impl Into<Option<&'static str>>) -> Self
pub fn key(self, key: impl Display) -> Self
pub fn build(self) -> View
Trait Implementations§
Auto Trait Implementations§
impl !RefUnwindSafe for ModalBuilder
impl !Send for ModalBuilder
impl !Sync for ModalBuilder
impl !UnwindSafe for ModalBuilder
impl Forget for ModalBuilder
impl Freeze for ModalBuilder
impl Move for ModalBuilder
impl Unpin for ModalBuilder
impl UnsafeUnpin for ModalBuilder
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