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§
Sourcefn is_element_active(&self, id: &str) -> bool
fn is_element_active(&self, id: &str) -> bool
Returns true if the element is active.
The id argument indicates the ID of the element.