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

coverSettings function

Splits flat options into the look's params and the timing.

View as Markdown
import { coverSettings } from '@dioramajs/diorama/transitions'
function coverSettings(
  options: CoverName | CoverOptions,
): Partial<CoverSettings>

Parameters

NameTypeDescription
optionsCoverName | CoverOptions

Also exported from @dioramajs/transitions/cover.

Defined in packages/transitions/src/cover/index.ts.