Commit d75748e 1 parent ea3879a commit d75748e Copy full SHA for d75748e
File tree 1 file changed +43
-0
lines changed
1 file changed +43
-0
lines changed Original file line number Diff line number Diff line change 1
1
# quasar-q-select-group
2
+
2
3
Multi-select component with option groups for the Quasar Framework (Vue.js)
4
+
5
+ # Installation
6
+
7
+ ` npm i --save q-select-group `
8
+
9
+ # Usage
10
+
11
+ ```
12
+ import QSelectGroup from "q-select-group";
13
+ ...
14
+ components: {
15
+ QSelectGroup,
16
+ },
17
+ ...
18
+ <q-select-group
19
+ :model="value"
20
+ @update:model="(v) => $emit('input', v)"
21
+ v-bind="$attrs"
22
+ v-on="$listeners"
23
+ :string-options="options"
24
+ />
25
+ ```
26
+
27
+ This component accept all attributes, listeners accepted by Quasar's QSelect component.
28
+
29
+ Props:
30
+ options: Array of list
31
+ model: it is the input value. (can also use model.sync)
32
+ multiple: Boolean, specifies whether component accepts multiple values
33
+ disabled: Boolean, specifies whether component is disabled
34
+
35
+ # Publish
36
+
37
+ ## Add user to npm
38
+ ` npm adduser `
39
+
40
+ ## Login and verify
41
+ ` npm login `
42
+
43
+ ## Publish
44
+ ` npm run build `
45
+ ` npm publish `
You can’t perform that action at this time.
0 commit comments