Skip to main content

register_event_host

Function register_event_host 

Source
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.