Function script::dom::bindings::reflector::reflect_dom_object

source ยท
pub fn reflect_dom_object<T, U>(obj: Box<T>, global: &U) -> Root<Dom<T>>
Expand description

Create the reflector for a new DOM object and yield ownership to the reflector.