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

TakeOptions interface

Options of `app.effects.take`.

View as Markdown
import type { TakeOptions } from '@dioramajs/diorama/effects'
interface TakeOptions

Members

NameTypeDescription
readonly leave?'ghost' | 'release'

Default 'ghost'.

readonly signal?AbortSignal

The owner vouches for the copy until this aborts, and aborting releases it. Without a signal, a ghost or veil with no writes for 10 s is released with a dev warning.

readonly veil?boolean

Start veiled, for a flight target or an entering element. Default false.

Also exported from @dioramajs/effects.

Defined in packages/effects/src/types.ts.