# @dioramajs/media/curtain

Exports of @dioramajs/media/curtain.

## Functions and values

- [default](/docs/api/media-curtain/default.md): 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.
- [openingOf](/docs/api/media-curtain/opening-of.md): How far an element's curtain is open, for tests.
