fix 0.2.71
This commit is contained in:
parent
197a5f25c8
commit
570c7f5512
1
.gitignore
vendored
1
.gitignore
vendored
@ -1,4 +1,5 @@
|
|||||||
node_modules
|
node_modules
|
||||||
dist
|
dist
|
||||||
.parcel-cache
|
.parcel-cache
|
||||||
|
.test
|
||||||
|
|
||||||
|
@ -67,3 +67,7 @@ Tested in JS and React. Errors in work in React applications are revealed.
|
|||||||
### 00.03.2023 - update 0.2.7
|
### 00.03.2023 - update 0.2.7
|
||||||
|
|
||||||
- Switch to new webpack project builder.
|
- Switch to new webpack project builder.
|
||||||
|
|
||||||
|
##### 00.03.2023 - fix 0.2.71
|
||||||
|
|
||||||
|
- Select import fixed.
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
# CG-SELECT
|
# CG-SELECT
|
||||||
|
|
||||||
## version ~ 0.2.7
|
## version ~ 0.2.71
|
||||||
|
|
||||||
<a href="https://github.com/apuc/cg-select/blob/main/READMERU.md">ЧИТАТЬ НА РУССКОМ</a>
|
<a href="https://github.com/apuc/cg-select/blob/main/READMERU.md">ЧИТАТЬ НА РУССКОМ</a>
|
||||||
|
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
# CG-SELECT
|
# CG-SELECT
|
||||||
|
|
||||||
## Версия ~ 0.2.7
|
## Версия ~ 0.2.71
|
||||||
|
|
||||||
<a href="https://github.com/apuc/cg-select/blob/main/README.md">English README</a>
|
<a href="https://github.com/apuc/cg-select/blob/main/README.md">English README</a>
|
||||||
|
|
||||||
|
3
index.js
3
index.js
@ -1,6 +1,3 @@
|
|||||||
import { CGSelect } from './src/cg-select';
|
import { CGSelect } from './src/cg-select';
|
||||||
|
|
||||||
let select = new CGSelect();
|
|
||||||
select.disabled(true);
|
|
||||||
|
|
||||||
export default CGSelect;
|
export default CGSelect;
|
||||||
|
4
package-lock.json
generated
4
package-lock.json
generated
@ -1,12 +1,12 @@
|
|||||||
{
|
{
|
||||||
"name": "cg-select",
|
"name": "cg-select",
|
||||||
"version": "0.2.7",
|
"version": "0.2.71",
|
||||||
"lockfileVersion": 2,
|
"lockfileVersion": 2,
|
||||||
"requires": true,
|
"requires": true,
|
||||||
"packages": {
|
"packages": {
|
||||||
"": {
|
"": {
|
||||||
"name": "cg-select",
|
"name": "cg-select",
|
||||||
"version": "0.2.7",
|
"version": "0.2.71",
|
||||||
"license": "ISC",
|
"license": "ISC",
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"@types/prettier": "^2.7.2",
|
"@types/prettier": "^2.7.2",
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
{
|
{
|
||||||
"name": "cg-select",
|
"name": "cg-select",
|
||||||
"version": "0.2.7",
|
"version": "0.2.71",
|
||||||
"source": "index.js",
|
"source": "index.js",
|
||||||
"main": "dist/index.js",
|
"main": "dist/index.js",
|
||||||
"description": "Feature rich Select control for React/JS with multiselect, autocomplete and styling",
|
"description": "Feature rich Select control for React/JS with multiselect, autocomplete and styling",
|
||||||
|
@ -130,10 +130,14 @@ export class CGSelect implements ICgSelect {
|
|||||||
* }
|
* }
|
||||||
*/
|
*/
|
||||||
constructor(setting: ICgSelect) {
|
constructor(setting: ICgSelect) {
|
||||||
|
if (setting) {
|
||||||
this.init(setting);
|
this.init(setting);
|
||||||
this.render();
|
this.render();
|
||||||
this.closeSelectClick();
|
this.closeSelectClick();
|
||||||
this.initEvent();
|
this.initEvent();
|
||||||
|
} else {
|
||||||
|
throw new Error('Specify settings!');
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
//Getters
|
//Getters
|
||||||
|
Loading…
Reference in New Issue
Block a user