pub trait Activatable {
    fn as_element(&self) -> ∈
    fn is_instance_activatable(&self) -> bool;
    fn activation_behavior(&self, event: &Event, target: &EventTarget);

    fn legacy_pre_activation_behavior(&self) -> Option<InputActivationState> { ... }
    fn legacy_canceled_activation_behavior(
        &self,
        _state_before: Option<InputActivationState>
    ) { ... } fn enter_formal_activation_state(&self) { ... } fn exit_formal_activation_state(&self) { ... } }
Expand description

Trait for elements with defined activation behavior

Required Methods

Provided Methods

Implementors