IsElementActive

Trait IsElementActive 

Source
pub trait IsElementActive {
    // Required method
    fn is_element_active(&self, id: &str) -> bool;
}
Expand description

Trait to check if an element is active.

This trait is used to implement is_element_active as a method on Document instead of a function of two arguments.

Required Methods§

Source

fn is_element_active(&self, id: &str) -> bool

Returns true if the element is active.

The id argument indicates the ID of the element.

Implementations on Foreign Types§

Source§

impl IsElementActive for Document

Implementors§