mirror of
https://github.com/carbon-design-system/carbon-components-svelte.git
synced 2025-09-15 02:11:05 +00:00
parent
e3902fe724
commit
201e03757b
4 changed files with 22 additions and 0 deletions
|
@ -24,6 +24,9 @@
|
|||
/** Set to `true` to display the skeleton state */
|
||||
export let skeleton = false;
|
||||
|
||||
/** Set to `true` to mark the field as required */
|
||||
export let required = false;
|
||||
|
||||
/** Set to `true` for the checkbox to be read-only */
|
||||
export let readonly = false;
|
||||
|
||||
|
@ -87,6 +90,7 @@
|
|||
id="{id}"
|
||||
indeterminate="{indeterminate}"
|
||||
name="{name}"
|
||||
required="{required}"
|
||||
readonly="{readonly}"
|
||||
class:bx--checkbox="{true}"
|
||||
on:change="{() => {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue