Skip to main content

NotificationCardProps

Trait NotificationCardProps 

Source
pub trait NotificationCardProps: ElementBuilder {
    // Provided methods
    fn is_closed<M>(self, value: impl IntoProp<bool, M>) -> Self { ... }
    fn notification_type<M>(
        self,
        value: impl IntoProp<NotificationType, M>,
    ) -> Self { ... }
    fn close_on_click<M>(self, value: impl IntoProp<bool, M>) -> Self { ... }
    fn on_notification_closed(
        self,
        handler: impl Fn(&RoutedEventArgs) + 'static,
    ) -> Self { ... }
}
Expand description

The properties and routed events of NotificationCard.

Provided Methods§

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety".

Implementors§