$scramjetLoadController
$scramjetLoadController():
object
Defined in: typedoc-repos/scramjet/src/entry.ts:119
Factory function that creates the ScramjetController
class.
Returns
Section titled “Returns”object
The ScramjetController
class.
ScramjetController
Section titled “ScramjetController”ScramjetController: typeof
ScramjetController
Example
Section titled “Example”const { ScramjetController } = $scramjetLoadController();
const scramjet = new ScramjetController({
prefix: "/scramjet/"
});
await scramjet.init();
const frame = scramjet.createFrame();
document.body.appendChild(frame.frame);
frame.navigate("https://example.com");