Skip to content

Usage

VuePopper can be used in two ways:

  • as a component
  • as a composition function

Each of these methods has its own advantages and disadvantages.

For example while the component method is easier to use, the composition function method is more flexible. The composition method enables you to have the trigger and the content in different parts of your project.

Composition method also have less template nesting than the component method. In fact, the component method is just a wrapper around the composition method. It is provided for convenience.

Released under the MIT License.