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

Props for MatDialog

MWC Documentation:

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: Children

Trait Implementations§

Returns a copy of the value. Read more
Performs copy-assignment from source. Read more
This method tests for self and other values to be equal, and is used by ==.
This method tests for !=. The default implementation is almost always sufficient, and should not be overridden without very good reason.
Builder that will be used to construct properties
Entrypoint for building properties

Auto Trait Implementations§

Blanket Implementations§

Gets the TypeId of self. Read more
Immutably borrows from an owned value. Read more
Mutably borrows from an owned value. Read more

Returns the argument unchanged.

Instruments this type with the provided Span, returning an Instrumented wrapper. Read more
Instruments this type with the current Span, returning an Instrumented wrapper. Read more

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

Convert self to a value of a Properties struct.
Convert self to a value of a Properties struct.
The resulting type after obtaining ownership.
Creates owned data from borrowed data, usually by cloning. Read more
Uses borrowed data to replace owned data, usually by cloning. Read more
The type returned in the event of a conversion error.
Performs the conversion.
The type returned in the event of a conversion error.
Performs the conversion.
Attaches the provided Subscriber to this type, returning a WithDispatch wrapper. Read more
Attaches the current default Subscriber to this type, returning a WithDispatch wrapper. Read more