This commit is contained in:
syuilo
2018-10-21 16:18:02 +09:00
parent 6b0d48423d
commit 7bbf022978
12 changed files with 38 additions and 76 deletions

View File

@@ -2,7 +2,7 @@
<x-column :name="name" :column="column" :is-stacked="isStacked">
<span slot="header">%fa:at%{{ name }}</span>
<x-mentions ref="tl" @parentFocus="parentFocus"/>
<x-mentions ref="tl"/>
</x-column>
</template>
@@ -38,11 +38,7 @@ export default Vue.extend({
methods: {
focus() {
this.$refs.tl.focus();
},
parentFocus(direction) {
this.$emit('parentFocus', direction);
},
}
}
});
</script>