Security News
The Unpaid Backbone of Open Source: Solo Maintainers Face Increasing Security Demands
Solo open source maintainers face burnout and security challenges, with 60% unpaid and 60% considering quitting.
@zag-js/checkbox
Advanced tools
Core logic for the checkbox widget implemented as a state machine
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 79,514 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 0 open source maintainers 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
Solo open source maintainers face burnout and security challenges, with 60% unpaid and 60% considering quitting.
Security News
License exceptions modify the terms of open source licenses, impacting how software can be used, modified, and distributed. Developers should be aware of the legal implications of these exceptions.
Security News
A developer is accusing Tencent of violating the GPL by modifying a Python utility and changing its license to BSD, highlighting the importance of copyleft compliance.