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§
Sourcefn notification_type<M>(self, value: impl IntoProp<NotificationType, M>) -> Self
fn notification_type<M>(self, value: impl IntoProp<NotificationType, M>) -> Self
Sourcefn close_on_click<M>(self, value: impl IntoProp<bool, M>) -> Self
fn close_on_click<M>(self, value: impl IntoProp<bool, M>) -> Self
Sourcefn on_notification_closed(
self,
handler: impl Fn(&RoutedEventArgs) + 'static,
) -> Self
fn on_notification_closed( self, handler: impl Fn(&RoutedEventArgs) + 'static, ) -> Self
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".