ICanActivate
trait · ferroui-reactiveui · v0.5.0
trait ICanActivate
An object that says itself when it is activated and deactivated (ICanActivate); a view that
implements it is activated by CanActivateViewFetcher.
Usually only the integration of a user-interface toolkit implements it.
A view tells the activation fetchers that it implements this trait through
IActivatableView::as_can_activate.
Members
activated
fn activated(self: &Self) -> Rc<dyn IObservable<()>>
Ticks when the object is activated (Activated).
deactivated
fn deactivated(self: &Self) -> Rc<dyn IObservable<()>>
Ticks when the object is deactivated (Deactivated).
Availability
Extracted for aarch64-apple-darwin. Cargo features are listed in the crate index.