mirror of
https://github.com/tenrok/vue-select.git
synced 2026-06-19 09:50:33 +03:00
reset dev env
This commit is contained in:
+1
-18
@@ -1,7 +1,7 @@
|
|||||||
<template>
|
<template>
|
||||||
<div id="app">
|
<div id="app">
|
||||||
<sandbox hide-help v-slot="config">
|
<sandbox hide-help v-slot="config">
|
||||||
<v-select taggable multiple no-drop :map-keydown="handlers"/>
|
<v-select v-bind="config"/>
|
||||||
</sandbox>
|
</sandbox>
|
||||||
</div>
|
</div>
|
||||||
</template>
|
</template>
|
||||||
@@ -14,23 +14,6 @@ import Sandbox from '../docs/.vuepress/components/Sandbox';
|
|||||||
|
|
||||||
export default {
|
export default {
|
||||||
components: {Sandbox, vSelect},
|
components: {Sandbox, vSelect},
|
||||||
methods: {
|
|
||||||
handlers (map, vm) {
|
|
||||||
const createTag = e => {
|
|
||||||
e.preventDefault();
|
|
||||||
vm.typeAheadSelect();
|
|
||||||
vm.searchEl.focus();
|
|
||||||
};
|
|
||||||
|
|
||||||
return {
|
|
||||||
...map,
|
|
||||||
9: createTag,
|
|
||||||
13: createTag,
|
|
||||||
32: createTag,
|
|
||||||
188: createTag,
|
|
||||||
};
|
|
||||||
},
|
|
||||||
},
|
|
||||||
};
|
};
|
||||||
</script>
|
</script>
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user