Skip to content

Latest commit

 

History

History
26 lines (19 loc) · 993 Bytes

README.md

File metadata and controls

26 lines (19 loc) · 993 Bytes
permalink title
pat/backdrop/
Backdrop

Backdrop pattern.

Renders a dark background.


Deprecated

This pattern is deprecated. Just use plain CSS instead.


Configuration

Option Type Default Description
zIndex integer null z-index of backdrop element.
opacity float 0.8 opacity level of backdrop element.
className string 'backdrop' class name of backdrop element.
classActiveName string 'backdrop-active' class name when backdrop is active.
closeOnEsc boolean true should backdrop close when ESC key is pressed.
closeOnClick boolean true should backdrop close when clicked on it.