You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+53-1Lines changed: 53 additions & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -6,12 +6,14 @@
6
6
7
7
# ChoicesJS Web Component
8
8
9
-
Select component which just wraps [ChoicesJS][choicesjs]in a real [Web Component][web-component]. It has been created using [StencilJS][stenciljs], and written with [_Typescript_][typescript] and [_JSX_][jsx].
9
+
Select and multi-select Web Component which transforms [ChoicesJS][choicesjs]library into a real [Web Component][web-component].
10
10
11
11
This component allows the user to select from dropdowns, to browser between multiple options, to add tags to an input, etc.
12
12
13
13
Play with it on the [**demo**][demo] page.
14
14
15
+
It is built with [StencilJS][stenciljs], and written in [_Typescript_][typescript] and [_JSX_][jsx].
16
+
15
17
## Use cases
16
18
17
19
The purpose of this project is to create a simple Web Component wrapper from the [ChoicesJS][choicesjs] library.
@@ -155,6 +157,56 @@ export default {
155
157
</script>
156
158
```
157
159
160
+
#### Example for ReactJS framework
161
+
162
+
```javascript
163
+
// Loading ChoicesJS library and ChoicesJS Stencil Web Component
0 commit comments