A classic modal overlay, in which you can include any content you want.
See the docs on the
ModalCloser agent to be able to close your modal instance from anywhere
in your app for maximum flexibility.
Messages are used to make Components dynamic and interactive. Simple
Component's can declare their Message type to be
(). Complex Component's
commonly use an enum to declare multiple Message types. Read more
type Properties = ModalProps
Properties are the inputs to a Component and should not mutated within a Component. They are passed to a Component using a JSX-style syntax. Read more
fn create(props: Self::Properties, link: ComponentLink<Self>) -> Self[src]
fn update(&mut self, msg: Self::Message) -> ShouldRender[src]
fn change(&mut self, props: Self::Properties) -> ShouldRender[src]
impl !RefUnwindSafe for Modal
impl !UnwindSafe for Modal
impl<T> Any for T where
impl<T, U> NeqAssignBy<U> for T where[src]
impl<COMP> Renderable for COMP where[src]
type Error = Infallible
The type returned in the event of a conversion error.