Struct patternfly_yew::ToastViewer [−][src]
pub struct ToastViewer { /* fields omitted */ }
A component to view toast alerts.
Exactly one instance is required in your page in order to actually show the toasts. The instance must be on the body level of the HTML document.
Trait Implementations
impl Component for ToastViewer
[src]
impl Component for ToastViewer
[src]type Message = ToastViewerMsg
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 = Props
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]
fn view(&self) -> Html
[src]
pub fn rendered(&mut self, _first_render: bool)
[src]
pub fn destroy(&mut self)
[src]
Auto Trait Implementations
impl !RefUnwindSafe for ToastViewer
impl !RefUnwindSafe for ToastViewer
impl !Send for ToastViewer
impl !Send for ToastViewer
impl !Sync for ToastViewer
impl !Sync for ToastViewer
impl Unpin for ToastViewer
impl Unpin for ToastViewer
impl !UnwindSafe for ToastViewer
impl !UnwindSafe for ToastViewer