Skip to content

Commit 19276ed

Browse files
authored
Merge pull request #1835 from shentao/release-3.2
release(3-2): New build and doc files
2 parents cb1b01d + 5950435 commit 19276ed

38 files changed

+9487
-5304
lines changed

dist/vue-multiselect.common.js

Lines changed: 4199 additions & 2472 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

dist/vue-multiselect.common.js.map

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

dist/vue-multiselect.esm.js

Lines changed: 165 additions & 109 deletions
Large diffs are not rendered by default.

dist/vue-multiselect.js

Lines changed: 165 additions & 108 deletions
Large diffs are not rendered by default.

dist/vue-multiselect.ssr.js

Lines changed: 164 additions & 107 deletions
Large diffs are not rendered by default.

dist/vue-multiselect.umd.js

Lines changed: 4234 additions & 2499 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

dist/vue-multiselect.umd.js.map

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

dist/vue-multiselect.umd.min.js

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

dist/vue-multiselect.umd.min.js.map

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
Lines changed: 37 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,37 @@
1+
const e=`<template>
2+
<div>
3+
<label class="typo__label">Open console to see logs.</label>
4+
<multiselect id="action-dispatcher" placeholder="Pick action" :options="actions" :searchable="false" :reset-after="true" @select="dispatchAction" aria-label="pick a action"></multiselect>
5+
</div>
6+
</template>
7+
8+
<script>
9+
import Multiselect from 'vue-multiselect'
10+
11+
export default {
12+
components: {
13+
Multiselect
14+
},
15+
data () {
16+
return {
17+
actions: ['alert', 'console.log', 'scrollTop']
18+
}
19+
},
20+
methods: {
21+
dispatchAction (actionName) {
22+
switch (actionName) {
23+
case 'alert':
24+
window.alert('You just dispatched "alert" action!')
25+
break
26+
case 'console.log':
27+
console.log('You just dispatched "console.log" action!')
28+
break
29+
case 'scrollTop':
30+
window.scrollTo(0, 0)
31+
break
32+
}
33+
}
34+
}
35+
}
36+
<\/script>
37+
`;export{e as default};

0 commit comments

Comments
 (0)