Struct material_yew::dialog::DialogProps
source · pub struct DialogProps {Show 15 fields
pub open: bool,
pub hide_action: bool,
pub stacked: bool,
pub heading: Option<AttrValue>,
pub scrim_click_action: Option<AttrValue>,
pub escape_key_action: Option<AttrValue>,
pub default_action: Option<AttrValue>,
pub action_attribute: Option<AttrValue>,
pub initial_focus_attribute: Option<AttrValue>,
pub onopening: Callback<()>,
pub onopened: Callback<()>,
pub onclosing: Callback<String>,
pub onclosed: Callback<String>,
pub dialog_link: WeakComponentLink<MatDialog>,
pub children: Children,
}Expand description
Fields§
§open: bool§hide_action: bool§stacked: bool§heading: Option<AttrValue>§scrim_click_action: Option<AttrValue>§escape_key_action: Option<AttrValue>§default_action: Option<AttrValue>§action_attribute: Option<AttrValue>§initial_focus_attribute: Option<AttrValue>§onopening: Callback<()>Binds to opening event on mwc-dialog
See events docs to learn more.
onopened: Callback<()>Binds to opened event on mwc-dialog
See events docs to learn more.
onclosing: Callback<String>Binds to closing event on mwc-dialog
See events docs to learn more.
onclosed: Callback<String>Binds to closed event on mwc-dialog
See events docs to learn more.
dialog_link: WeakComponentLink<MatDialog>[WeakComponentLink] for MatDialog which provides the following
methods:
focus(&self)blur(&self)show(&self)close(&self)
See [WeakComponentLink] documentation for more information
children: ChildrenTrait Implementations§
source§impl Clone for DialogProps
impl Clone for DialogProps
source§fn clone(&self) -> DialogProps
fn clone(&self) -> DialogProps
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moresource§impl PartialEq<DialogProps> for DialogProps
impl PartialEq<DialogProps> for DialogProps
source§fn eq(&self, other: &DialogProps) -> bool
fn eq(&self, other: &DialogProps) -> bool
This method tests for
self and other values to be equal, and is used
by ==.source§impl Properties for DialogProps
impl Properties for DialogProps
impl StructuralPartialEq for DialogProps
Auto Trait Implementations§
impl !RefUnwindSafe for DialogProps
impl !Send for DialogProps
impl !Sync for DialogProps
impl Unpin for DialogProps
impl !UnwindSafe for DialogProps
Blanket Implementations§
source§impl<T> Instrument for T
impl<T> Instrument for T
source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
§impl<T> IntoPropValue<Option<T>> for T
impl<T> IntoPropValue<Option<T>> for T
§fn into_prop_value(self) -> Option<T>
fn into_prop_value(self) -> Option<T>
Convert
self to a value of a Properties struct.§impl<T> IntoPropValue<T> for T
impl<T> IntoPropValue<T> for T
§fn into_prop_value(self) -> T
fn into_prop_value(self) -> T
Convert
self to a value of a Properties struct.