#101 - add emoji selector basic mockup
This commit is contained in:
parent
25370083b6
commit
2c4e80aab3
4 changed files with 97 additions and 0 deletions
src/components/emoji-input
|
@ -1,4 +1,6 @@
|
|||
import Completion from '../../services/completion/completion.js'
|
||||
import EmojiSelector from '../emoji-selector/emoji-selector.vue'
|
||||
|
||||
import { take, filter, map } from 'lodash'
|
||||
|
||||
const EmojiInput = {
|
||||
|
@ -14,6 +16,9 @@ const EmojiInput = {
|
|||
caret: 0
|
||||
}
|
||||
},
|
||||
components: {
|
||||
EmojiSelector
|
||||
},
|
||||
computed: {
|
||||
suggestions () {
|
||||
const firstchar = this.textAtCaret.charAt(0)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue