0

Can't find a way to close context menu upon picking an item, using Popper. Seems like a fundamental feature though, am I missing something?

The only thing I see is a "hide" event but it's an event not a method.

drake035
  • 3,955
  • 41
  • 119
  • 229

1 Answers1

0

Like so:

<popper
  ref="popper"
  ...
>
   ...
</popper>

Then: this.$refs.popper.doClose()

drake035
  • 3,955
  • 41
  • 119
  • 229