select-pure
Advanced tools
Comparing version 2.0.0-alpha.12 to 2.0.0-alpha.13
@@ -6,2 +6,10 @@ # Change Log | ||
# [2.0.0-alpha.13](https://github.com/dudyn5ky1/select-pure/compare/select-pure@2.0.0-alpha.12...select-pure@2.0.0-alpha.13) (2021-05-01) | ||
**Note:** Version bump only for package select-pure | ||
# [2.0.0-alpha.12](https://github.com/dudyn5ky1/select-pure/compare/select-pure@2.0.0-alpha.11...select-pure@2.0.0-alpha.12) (2021-04-30) | ||
@@ -8,0 +16,0 @@ |
{ | ||
"name": "select-pure", | ||
"version": "2.0.0-alpha.12", | ||
"version": "2.0.0-alpha.13", | ||
"description": "Custom JavaScript <select> component. Easy-to-use, accessible, mobile friendly and super efficient", | ||
@@ -15,3 +15,3 @@ "author": { | ||
"build:watch": "tsc -w", | ||
"prepublishOnly": "npm run build" | ||
"prepublishOnly": "npm run build && cp -f ./../../README.md README.md" | ||
}, | ||
@@ -18,0 +18,0 @@ "keywords": [ |
@@ -44,3 +44,3 @@ # Custom JavaScript `<select>` component. Easy-to-use, accessible, mobile friendly and super efficient. | ||
<option-pure value="US">USA</option-pure> | ||
<option-pure value="RU" disabled>Russia</option-pure> | ||
<option-pure value="US" disabled>Russia</option-pure> | ||
</select-pure> | ||
@@ -63,3 +63,3 @@ ``` | ||
`<select-pure>` supports the following attributes: `name`, `id` and `disabled`. | ||
`<select-pure>` supports the following attributes: `name`, `id`, `multiple`, `default-label` and `disabled`. | ||
@@ -70,6 +70,8 @@ `<option-pure>` supports `value`, `label`, `disabled`, `selected` and `hidden` attributes. | ||
| property | description | | ||
|---------------|--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------| | ||
| selectedIndex | Returns index of the selected option. You can also manipulate selected value with changing this property (`selectPure.selectedIndex = 2`). Just like in the native `<select>`. | | ||
| value | Returns selected value. | | ||
| property | description | | ||
|-----------------|--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------| | ||
| selectedIndex | Returns index of the selected option. You can also manipulate selected value with changing this property (`selectPure.selectedIndex = 2`). Just like in the native `<select>`. | | ||
| value | Returns selected value. | | ||
| selectedOptions | Returns and array of selected `<option>`s. Works only in `multiple` mode. | | ||
| values | Returns and array of selected values. Works only in `multiple` mode. | | ||
@@ -140,2 +142,3 @@ ### Callbacks | ||
- [ ] Make sure Select behaves correctly when attributes are changed or options are removed from the DOM (MutationObserver); | ||
- [ ] Sometimes one select scrolls dropdown in the others? | ||
@@ -148,5 +151,4 @@ 2.1 | ||
## License | ||
```MIT``` |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
Major refactor
Supply chain riskPackage has recently undergone a major refactor. It may be unstable or indicate significant internal changes. Use caution when updating to versions that include significant changes.
Found 1 instance in 1 package
36968
150
0