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

group function

Entries of a package whose map loads on first need: one entry per name, each sharing the loader, with `extra` fields that must be known before the map, such as `intro`.

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

.

function group(
  load: () => Promise<EffectEntries>,
  names: readonly string[],
  extra?: { [name: string]: EntryMeta },
): { [name: string]: EffectGroupEntry }

Parameters

NameTypeDescription
load() => Promise<EffectEntries>
namesreadonly string[]
extra?{ [name: string]: EntryMeta }

Default {}.

Also exported from @dioramajs/effects.

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