Function aframe::init_aframe

source ·
pub async fn init_aframe() -> Result<(), InitError>
Expand description

Async function which initializes aframe by adding the aframe script tag to the document header and waiting for the script onload event. Current Aframe version: 1.2.0