Interface InstallationOptions

Options to use with this specific installation of Ruffle.

This is mostly to provide a way to configure environmental settings, like using onFirstLoad to potentially configure webpack prior to loading wasm files.

interface InstallationOptions {
    onFirstLoad?: () => void;
}

Properties

Properties

onFirstLoad?: () => void

A callback to be run before the very first time Ruffle is loaded. This may be used to configure a bundler prior to asset loading.