use anchor for picker
This commit is contained in:
parent
8fa1f0b50d
commit
d2fabe1a71
2 changed files with 5 additions and 1 deletions
|
|
@ -113,13 +113,15 @@ const EmojiPicker = {
|
|||
},
|
||||
methods: {
|
||||
showPicker () {
|
||||
console.log('pick')
|
||||
this.$refs.popover.showPopover()
|
||||
this.onShowing()
|
||||
},
|
||||
hidePicker () {
|
||||
this.$refs.popover.hidePopover()
|
||||
},
|
||||
setAnchorEl (el) {
|
||||
this.$refs.popover.setAnchorEl(el)
|
||||
},
|
||||
setGroupRef (name) {
|
||||
return el => { this.groupRefs[name] = el }
|
||||
},
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue