Function leptos_dom::helpers::get_property
source · pub fn get_property(el: &Element, prop_name: &str) -> Result<JsValue, JsValue>Expand description
Gets the value of a property set on a DOM element.
pub fn get_property(el: &Element, prop_name: &str) -> Result<JsValue, JsValue>Gets the value of a property set on a DOM element.