#101 - add emoji selector basic mockup
This commit is contained in:
parent
25370083b6
commit
2c4e80aab3
4 changed files with 97 additions and 0 deletions
26
src/components/emoji-selector/emoji-selector.js
Normal file
26
src/components/emoji-selector/emoji-selector.js
Normal file
|
@ -0,0 +1,26 @@
|
|||
const EmojiSelector = {
|
||||
data () {
|
||||
return {
|
||||
open: false
|
||||
}
|
||||
},
|
||||
mounted () {
|
||||
console.log(this.$store.state.instance.emoji)
|
||||
console.log(this.$store.state.instance.customEmoji)
|
||||
},
|
||||
methods: {
|
||||
togglePanel () {
|
||||
this.open = !this.open
|
||||
}
|
||||
},
|
||||
computed: {
|
||||
standardEmoji () {
|
||||
return this.$store.state.instance.emoji || []
|
||||
},
|
||||
customEmoji () {
|
||||
return this.$store.state.instance.customEmoji || []
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
export default EmojiSelector
|
Loading…
Add table
Add a link
Reference in a new issue