Trait droom_ui::callback::callbacks::ActionCb [] [src]

pub trait ActionCb where Self: Element + 'static {
    fn set_action_cb<F>(&mut self, cb: F) -> Self where F: Callback<(Self,)> { ... }
    fn remove_action_cb(&mut self) -> Option<Box<Callback<(Self,)>>> { ... }
}

Action generated when the element is activated. Affects each element differently.

See the documentation of the Self object for the effect of this callback on it.

Note: This is different from the ACTION callback.

Provided Methods

Implementors