Skip to content

aeria-context-menu

This component is used to render a context menu that shows when a trigger is clicked.

Example

Will render a "Click me" label that, when clicked, will pop over a context menu with two actions as per specified in the props.

template
<aeria-context-menu
  :actions="[
    {
      label: 'Edit',
      icon: 'pencil',
      click: () => null
    },
    {
      label: 'Delete',
      icon: 'trash',
      click: () => null
    },
  ]"
>
  Click me
</aeria-context-menu>

Released under the MIT License.