Research
Security News
Threat Actor Exposes Playbook for Exploiting npm to Build Blockchain-Powered Botnets
A threat actor's playbook for exploiting the npm ecosystem was exposed on the dark web, detailing how to build a blockchain-powered botnet.
@zag-js/checkbox
Advanced tools
Core logic for the checkbox widget implemented as a state machine
yarn add @zag-js/checkbox
# or
npm i @zag-js/checkbox
trackFormReset
activity in the machine.trackFieldsetDisabled
activity in the machine.setChecked
method to programmatically control the checkbox's state. We automatically dispatch a
native event when this is done, so when used in a form, the form can detect those changes.indeterminate
key, to make it indeterminate by default. The API also exposes a
setIndeterminate
method, to toggle this programmatically.view
variable of type "checked" | "unchecked" | "mixed"
so you can render parts, based on the
current visual state of the checkbox. mixed
is when the checkbox is indeterminate.Yes please! See the contributing guidelines for details.
This project is licensed under the terms of the MIT license.
FAQs
Core logic for the checkbox widget implemented as a state machine
The npm package @zag-js/checkbox receives a total of 111,275 weekly downloads. As such, @zag-js/checkbox popularity was classified as popular.
We found that @zag-js/checkbox demonstrated a healthy version release cadence and project activity because the last version was released less than 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.
Research
Security News
A threat actor's playbook for exploiting the npm ecosystem was exposed on the dark web, detailing how to build a blockchain-powered botnet.
Security News
NVD’s backlog surpasses 20,000 CVEs as analysis slows and NIST announces new system updates to address ongoing delays.
Security News
Research
A malicious npm package disguised as a WhatsApp client is exploiting authentication flows with a remote kill switch to exfiltrate data and destroy files.