[][src]Trait seed::app::get_element::GetElement

pub trait GetElement {
    fn get_element(self) -> Result<Element, String>;
}

Required methods

fn get_element(self) -> Result<Element, String>

Returns wrapped web_sys::Element or tries to get one from the DOM.

Errors

Returns error if the element cannot be found.

Loading content...

Implementations on Foreign Types

impl<'_> GetElement for &'_ str[src]

impl GetElement for Element[src]

impl GetElement for HtmlElement[src]

Loading content...

Implementors

Loading content...