pub fn register_event_host<H: ScriptHost + Resource<Mutability = Mutable>>(
world: &mut World,
)Expand description
Put the host stored as the resource H on the list DOM events are
delivered into.
pub fn register_event_host<H: ScriptHost + Resource<Mutability = Mutable>>(
world: &mut World,
)Put the host stored as the resource H on the list DOM events are
delivered into.