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

PinOptions interface

Options of `gsap.pin`.

View as Markdown
import type { PinOptions } from '@dioramajs/diorama/gsap'
interface PinOptions

Members

NameTypeDescription
readonly progress?PinProgress

'auto' (default) uses the scrubbed animation's progress when vars.scrub is set, else st.progress.

readonly target?string | Element | Iterable<Element, any, any>

Defaults to effect elements inside the trigger's pin (or trigger) element at call time.

Also exported from @dioramajs/gsap.

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