Security News
ESLint is Now Language-Agnostic: Linting JSON, Markdown, and Beyond
ESLint has added JSON and Markdown linting support with new officially-supported plugins, expanding its versatility beyond JavaScript.
@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 70,620 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.
Security News
ESLint has added JSON and Markdown linting support with new officially-supported plugins, expanding its versatility beyond JavaScript.
Security News
Members Hub is conducting large-scale campaigns to artificially boost Discord server metrics, undermining community trust and platform integrity.
Security News
NIST has failed to meet its self-imposed deadline of clearing the NVD's backlog by the end of the fiscal year. Meanwhile, CVE's awaiting analysis have increased by 33% since June.