Skip to main content

Crate superui_api

Crate superui_api 

Source
Expand description

Standards-shaped DOM/Web API surface installed onto a superui_js::BoaEngine.

Uses Boa directly (design §4 permits this crate to depend on Boa). Knows nothing about Bevy. Headless-testable.

Functions§

console_take
Drain and return the console lines captured so far (for tests).
install
Install the full DOM/Web API surface onto engine. Call once, after BoaEngine::new and before evaluating author scripts.