@dioramajs/media/curtain
Exports of @dioramajs/media/curtain.
import { default, openingOf } from '@dioramajs/media/curtain'Functions
openingOf | How far an element's curtain is open, for tests. |
Constants
default | A cover picture behind a curtain that opens with scroll, both ways: strips that slide away one after another, two halves that part from the centre, or a liquid edge that drains past it. The curtain is a colour or a second picture, and casts a soft shadow on the picture as it goes. |