Security News
pnpm 10.0.0 Blocks Lifecycle Scripts by Default
pnpm 10 blocks lifecycle scripts by default to improve security, addressing supply chain attack risks but sparking debate over compatibility and workflow changes.
@dreamworld/dw-checkbox
Advanced tools
A material checkbox element made with lit-html. It's an wrapper of [mwc-checkbox](https://github.com/material-components/material-components-web-components/tree/master/packages/checkbox) element. Supports all the features of `mwc-checkbox`.
A material checkbox element made with lit-html. It's an wrapper of mwc-checkbox element. Supports all the features of mwc-checkbox
.
npm install --save @dreamworld/dw-checkbox
import '@dreamworld/dw-checkbox';
It supports below properties:
disabled
label
alignEnd
checked
indeterminate
value
checked-changed
: Dispatched when user updates checked status. It's DEPRECATED now, instead use change
.change
: Dispatched when user updates checked status. So, same as browser default eventalignEnd
property to show label after checkbox <dw-checkbox label="This is checkbox" alignEnd></dw-checkbox>
disabled
property to disable checkbox <dw-checkbox label="This is checkbox" disabled checked></dw-checkbox>
value
property usagevalue
property used to get selected item's value. e.g. apple
.
In below example, dwForm.serialize() method's result is {fruit: ['apple', 'kiwi']}
<dw-form>
<dw-checkbox name="fruit" value="apple" label="Apple" checked></dw-checkbox>
<dw-checkbox name="fruit" value="grapes" label="Grapes"></dw-checkbox>
<dw-checkbox name="fruit" value="kiwi" label="Kiwi" checked></dw-checkbox>
</dw-form>
FAQs
A material checkbox element made with lit-html. It's an wrapper of [mwc-checkbox](https://github.com/material-components/material-components-web-components/tree/master/packages/checkbox) element. Supports all the features of `mwc-checkbox`.
We found that @dreamworld/dw-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
pnpm 10 blocks lifecycle scripts by default to improve security, addressing supply chain attack risks but sparking debate over compatibility and workflow changes.
Product
Socket now supports uv.lock files to ensure consistent, secure dependency resolution for Python projects and enhance supply chain security.
Research
Security News
Socket researchers have discovered multiple malicious npm packages targeting Solana private keys, abusing Gmail to exfiltrate the data and drain Solana wallets.