Skip to main content

use_engine

Function use_engine 

Source
pub fn use_engine(worker_url: impl Into<String>) -> Engine
Expand description

Creates an Engine for the worker at worker_url and installs global key listeners that forward keystrokes to the worker, skipping modifier combos and keys pressed while typing in a form field. Pair it with EngineViewport.