@kamranbaylarov/one-select 1.0.0 → 1.0.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +43 -12
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -1,5 +1,7 @@
|
|
|
1
1
|
# 🎯 OneSelect - jQuery Multi-Select Dropdown Component
|
|
2
2
|
|
|
3
|
+
**Version:** 1.0.1 | **Author:** Kamran Baylarov
|
|
4
|
+
|
|
3
5
|
A powerful, flexible, and feature-rich multi-select dropdown component for jQuery.
|
|
4
6
|
|
|
5
7
|
## 📋 Table of Contents
|
|
@@ -77,15 +79,35 @@ OneSelect is a powerful **jQuery-based** plugin that provides multi-select funct
|
|
|
77
79
|
|
|
78
80
|
## 📦 Installation
|
|
79
81
|
|
|
80
|
-
###
|
|
82
|
+
### Via NPM (Recommended)
|
|
83
|
+
|
|
84
|
+
```bash
|
|
85
|
+
npm install @kamranbaylarov/one-select
|
|
86
|
+
```
|
|
87
|
+
|
|
88
|
+
### Manual Download
|
|
89
|
+
|
|
90
|
+
Download from [GitHub Releases](https://github.com/KamranBeylarov/one-select/releases)
|
|
91
|
+
|
|
92
|
+
### Dependencies
|
|
81
93
|
|
|
82
94
|
```html
|
|
83
95
|
<!-- jQuery must be included first -->
|
|
84
96
|
<script src="https://code.jquery.com/jquery-3.6.0.min.js"></script>
|
|
85
97
|
```
|
|
86
98
|
|
|
87
|
-
###
|
|
99
|
+
### Include Files
|
|
88
100
|
|
|
101
|
+
**NPM:**
|
|
102
|
+
```html
|
|
103
|
+
<!-- CSS -->
|
|
104
|
+
<link rel="stylesheet" href="/node_modules/@kamranbaylarov/one-select/css/one-select.min.css">
|
|
105
|
+
|
|
106
|
+
<!-- JavaScript -->
|
|
107
|
+
<script src="/node_modules/@kamranbaylarov/one-select/js/one-select.min.js"></script>
|
|
108
|
+
```
|
|
109
|
+
|
|
110
|
+
**Manual:**
|
|
89
111
|
```html
|
|
90
112
|
<!-- CSS -->
|
|
91
113
|
<link rel="stylesheet" href="/path/to/one-select.min.css">
|
|
@@ -94,13 +116,13 @@ OneSelect is a powerful **jQuery-based** plugin that provides multi-select funct
|
|
|
94
116
|
<script src="/path/to/one-select.js"></script>
|
|
95
117
|
```
|
|
96
118
|
|
|
97
|
-
###
|
|
119
|
+
### Create HTML Element
|
|
98
120
|
|
|
99
121
|
```html
|
|
100
122
|
<div id="mySelect"></div>
|
|
101
123
|
```
|
|
102
124
|
|
|
103
|
-
###
|
|
125
|
+
### Initialize
|
|
104
126
|
|
|
105
127
|
```javascript
|
|
106
128
|
$('#mySelect').oneSelect({
|
|
@@ -810,7 +832,20 @@ $('#select9').oneSelect({
|
|
|
810
832
|
|
|
811
833
|
## 📞 Support
|
|
812
834
|
|
|
813
|
-
|
|
835
|
+
### Links
|
|
836
|
+
|
|
837
|
+
- **NPM Package:** [@kamranbaylarov/one-select](https://www.npmjs.com/package/@kamranbaylarov/one-select)
|
|
838
|
+
- **GitHub:** [KamranBeylarov/one-select](https://github.com/KamranBeylarov/one-select)
|
|
839
|
+
- **Issues:** [Report issues](https://github.com/KamranBeylarov/one-select/issues)
|
|
840
|
+
|
|
841
|
+
### Installation
|
|
842
|
+
|
|
843
|
+
```bash
|
|
844
|
+
# NPM
|
|
845
|
+
npm install @kamranbaylarov/one-select
|
|
846
|
+
|
|
847
|
+
# CDN (coming soon)
|
|
848
|
+
```
|
|
814
849
|
|
|
815
850
|
### Project Structure
|
|
816
851
|
|
|
@@ -819,16 +854,12 @@ one-select/
|
|
|
819
854
|
├── css/
|
|
820
855
|
│ └── one-select.min.css
|
|
821
856
|
├── js/
|
|
822
|
-
│
|
|
857
|
+
│ ├── one-select.js
|
|
858
|
+
│ └── one-select.min.js
|
|
859
|
+
├── package.json
|
|
823
860
|
└── README.md
|
|
824
861
|
```
|
|
825
862
|
|
|
826
|
-
### File Locations
|
|
827
|
-
|
|
828
|
-
- **JavaScript:** `one-select/js/one-select.js`
|
|
829
|
-
- **CSS:** `one-select/css/one-select.min.css`
|
|
830
|
-
- **Documentation:** `one-select/README.md`
|
|
831
|
-
|
|
832
863
|
### License
|
|
833
864
|
|
|
834
865
|
MIT License - Feel free to use in your projects!
|