@tradeshift/elements.checkbox
Advanced tools
Comparing version 0.27.0 to 0.27.2
{ | ||
"name": "@tradeshift/elements.checkbox", | ||
"version": "0.27.0", | ||
"version": "0.27.2", | ||
"repository": { | ||
@@ -18,6 +18,6 @@ "type": "git", | ||
"dependencies": { | ||
"@tradeshift/elements": "^0.27.0" | ||
"@tradeshift/elements": "^0.27.2" | ||
}, | ||
"src": "src/checkbox.js", | ||
"gitHead": "a11a27abc355ec5cca791ff7353068f97f0872c7" | ||
"gitHead": "bd49caa355a07257efd18228a55185ce788f7bce" | ||
} |
@@ -36,17 +36,17 @@ <h1 align="center"> | ||
| Property | Attribute | Type | Default | Description | | ||
| -------- | ---------- | ------- | ------- | ------------------------------------------------------------------------------------------------------------------------------- | | ||
| name | name | String | '' | Name of checkbox | | ||
| value | value | String | | Value of checkbox | | ||
| dir | dir | String | ltr | Direction of the component 'rtl' or 'ltr' | | ||
| label | data-label | String | | Label of checkbox. To customize the label and have something more than simple string, use the slot, and remove this attribute | | ||
| checked | checked | Boolean | false | Status of checkbox | | ||
| disabled | disabled | Boolean | false | disabled | | ||
| readonly | readonly | Boolean | false | readonly, user can't change the value like disabled, but with different styling | | ||
| Property | Attribute | Type | Default | Description | | ||
| --- | --- | --- | --- | --- | | ||
| name | name | String | '' | Name of checkbox | | ||
| value | value | String | | Value of checkbox | | ||
| dir | dir | String | ltr | Direction of the component 'rtl' or 'ltr' | | ||
| label | data-label | String | | Label of checkbox. To customize the label and have something more than simple string, use the slot, and remove this attribute | | ||
| checked | checked | Boolean | false | Status of checkbox | | ||
| disabled | disabled | Boolean | false | disabled | | ||
| readonly | readonly | Boolean | false | readonly, user can't change the value like disabled, but with different styling | | ||
## ➤ Slots | ||
| Name | Description | | ||
| ------- | ------------------------------------------------------------------------------------------------ | | ||
| default | To customized checkbox label (links, ...). Remember you need to remove 'data-label' attribute. | | ||
| Name | Description | | ||
| ------- | ---------------------------------------------------------------------------------------------- | | ||
| default | To customized checkbox label (links, ...). Remember you need to remove 'data-label' attribute. | | ||
@@ -53,0 +53,0 @@ ## ➤ How to use it |
27704
Updated@tradeshift/elements@^0.27.2