Skip to content
This repository was archived by the owner on Oct 5, 2022. It is now read-only.

Latest commit

 

History

History
25 lines (17 loc) · 1.26 KB

introduction.md

File metadata and controls

25 lines (17 loc) · 1.26 KB
title sort
Introduction
1

{note} I have abandoned this package since I no longer have the time or interest in maintaining it. If your project depends on vue-context, feel free to fork and maintain your own version of it, or consider using an alternative vue context menu package.

Introduction

vue-context provides a simple yet flexible context menu for Vue. It is styled for the standard <ul> tag, but any menu template can be used. The menu is lightweight with its only dependency being vue-clickaway. The menu has some basic styles applied to it, but they can be easily overridden by your own styles.

The menu disappears when you expect by utilizing vue-clickaway and it also optionally disappears when clicked on.

vue-context screenshot

By default, the menu is set up to use a <ul> tag for the menu, which is given the attribute role="menu" automatically. The component will also automatically apply the attribute role="menuitem" to each menu item when the context menu is opened.

License

vue-context uses the MIT License (MIT). Please see the license file for more information.