FerroUI/ docs

Search guides, controls, Rust APIs, and XAML.

    GitHub ↗

    NotificationCardProps

    trait · ferroui-view · v0.5.0

    trait NotificationCardProps: ElementBuilder
    

    The properties and routed events of NotificationCard.

    View source

    Members

    is_closed

    fn is_closed<M>(self: Self, value: impl IntoProp<bool, M>) -> Self
    

    Sets NotificationCard::is_closed_property.

    Source

    notification_type

    fn notification_type<M>(self: Self, value: impl IntoProp<ferroui_controls::NotificationType, M>) -> Self
    

    Sets NotificationCard::notification_type_property.

    Source

    close_on_click

    fn close_on_click<M>(self: Self, value: impl IntoProp<bool, M>) -> Self
    

    Sets NotificationCard::close_on_click_property.

    Source

    on_notification_closed

    fn on_notification_closed(self: Self, handler: impl Fn(&ferroui_base::interactivity::RoutedEventArgs) -> () + 'static) -> Self
    

    Handles NotificationCard::notification_closed_event.

    Source

    Trait implementations

    Availability

    Extracted for aarch64-apple-darwin. Cargo features are listed in the crate index.