![Oracle Drags Its Feet in the JavaScript Trademark Dispute](https://cdn.sanity.io/images/cgdhsj6q/production/919c3b22c24f93884c548d60cbb338e819ff2435-1024x1024.webp?w=400&fit=max&auto=format)
Security News
Oracle Drags Its Feet in the JavaScript Trademark Dispute
Oracle seeks to dismiss fraud claims in the JavaScript trademark dispute, delaying the case and avoiding questions about its right to the name.
ak-blanket
Advanced tools
A React component that covers the underlying UI for a layered component.
The main purpose of the blanket component is to provide the overlay layer for components such as a modal dialog or a tooltip.
Interact with a live demo of the ak-blanket component.
npm install ak-blanket
Import the component in your React app as follows:
import Blanket from 'ak-blanket';
ReactDOM.render(<Blanket />, container);
There is an onBlanketClicked
function prop, which is useful for hiding the blanket when the user clicks it.
No custom z-index style is applied, so make sure you put it into an appropriate DOM position.
For the purpose of simplicity blanket doesn't have any show/hide
functionality. Since the main use of it suppose to be inside popup
elements it would appear/disappear with the parent element.
Kind: global class
Properties
Boolean
function
A blanket which is placed over other page content
JS Example
import Blanket from 'ak-blanket';
ReactDOM.render(<Blanket />, container);
Boolean
Whether the blanket has a tinted background color
Kind: instance property of Blanket
Default: false
function
Handler function to be called when the blanket is clicked
Kind: instance property of Blanket
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.
Are you in trouble? Let us know!
FAQs
A React component that covers the underlying UI for a layered component.
The npm package ak-blanket receives a total of 0 weekly downloads. As such, ak-blanket popularity was classified as not popular.
We found that ak-blanket demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
Oracle seeks to dismiss fraud claims in the JavaScript trademark dispute, delaying the case and avoiding questions about its right to the name.
Security News
The Linux Foundation is warning open source developers that compliance with global sanctions is mandatory, highlighting legal risks and restrictions on contributions.
Security News
Maven Central now validates Sigstore signatures, making it easier for developers to verify the provenance of Java packages.