Diorama

Made for a big screen.

This site is one 3D scene, built for a computer: a wide window and a mouse. Open dioramajs.dev on a desktop or a laptop to see it.This site is one 3D scene, built for a wide window. Make this one wider, or open dioramajs.dev on a larger screen.

GitHub

DioramaDocs

ready function

Resolves with the app once it runs: the page's app of `start()` by default, waiting for the call if it has not happened yet.

View as Markdown
import { ready } from '@dioramajs/diorama'

. Rejects if the app fails or is destroyed first.

const app = await ready()
app.effects.get(el, 'ripple')
function ready(app?: App): Promise<App>

Parameters

NameTypeDescription
app?App

Also exported from @dioramajs/diorama/auto.

Defined in packages/diorama/src/attach.ts.