Function seed::browser::util::get_value

source ·
pub fn get_value(target: &EventTarget) -> Result<String, &'static str>
Expand description

Simplify getting the value of input elements; required due to the need to cast from general nodes/elements to HTML_Elements.

Errors

Will return error if it’s not possible to call get_value for given target.