Blanket
The main purpose of the blanket component is to provide the overlay layer for components such as a modal dialog or a tooltip.
Try it out
Interact with a live demo of the @atlaskit/blanket component.
Installation
npm install @atlaskit/blanket
Blanket
Kind: global class
new Blanket()
A blanket which is placed over other page content
JS Example
import Blanket from 'ak-blanket';
ReactDOM.render(<Blanket />, container);
blanket.isTinted : Boolean
Whether the blanket has a tinted background color
Kind: instance property of Blanket
Default: false
blanket.onBlanketClicked : function
Handler function to be called when the blanket is clicked
Kind: instance property of Blanket
Support and feedback
We're here to help!
Let us know what you think of our components and docs, your feedback is really important for us.
Ask a question in our forum.
Check if someone has already asked the same question before.
Create a support ticket
Are you in trouble? Let us know!