From 14d4f12249979477be7314186eba493100591d5e Mon Sep 17 00:00:00 2001 From: Randall Wilk Date: Fri, 22 Jan 2021 09:54:41 -0600 Subject: [PATCH] Update docs for archival --- docs/demos/_index.md | 4 - docs/demos/advanced.md | 305 ------------------ docs/demos/basic.md | 82 ----- docs/demos/props.md | 166 ---------- docs/introduction.md | 4 + ...ue-context-advanced-demos.1611330204010.js | 2 - .../vue-context-basic-demos.1611330204010.js | 2 - .../vue-context-props-demos.1611330204011.js | 2 - 8 files changed, 4 insertions(+), 563 deletions(-) delete mode 100644 docs/demos/_index.md delete mode 100644 docs/demos/advanced.md delete mode 100644 docs/demos/basic.md delete mode 100644 docs/demos/props.md delete mode 100644 docs/scripts/vue-context-advanced-demos.1611330204010.js delete mode 100644 docs/scripts/vue-context-basic-demos.1611330204010.js delete mode 100644 docs/scripts/vue-context-props-demos.1611330204011.js diff --git a/docs/demos/_index.md b/docs/demos/_index.md deleted file mode 100644 index 45a3a8f..0000000 --- a/docs/demos/_index.md +++ /dev/null @@ -1,4 +0,0 @@ ---- -title: Demos -sort: 2 ---- diff --git a/docs/demos/advanced.md b/docs/demos/advanced.md deleted file mode 100644 index f323cdd..0000000 --- a/docs/demos/advanced.md +++ /dev/null @@ -1,305 +0,0 @@ ---- -title: Advanced Demo -sort: 2 ---- - -## Demo 1 - -> {tip} Right click on each item to see a more customized context menu appear for each item. - -
-
- -
-
- -```html - - - -``` - -[Demo Source](https://github.com/rawilk/vue-context/blob/master/docs-build/js/advanced/advanced-1.vue) - -## Demo 2 - -> {tip} Right click on each of the colors to have a context menu appear to allow you do add or -> remove the color from the array of selected colors. - -
-
- -
-
- -```html - - - - - -``` - -[Demo Source](https://github.com/rawilk/vue-context/blob/master/docs-build/js/advanced/advanced-2.vue) - -## Nested Menus - -
- -
- -```html - - - -``` - -[Demo Source](https://github.com/rawilk/vue-context/blob/master/docs-build/js/advanced/nested-menus.vue) - - diff --git a/docs/demos/basic.md b/docs/demos/basic.md deleted file mode 100644 index cb3a1ca..0000000 --- a/docs/demos/basic.md +++ /dev/null @@ -1,82 +0,0 @@ ---- -title: Basic Demo -sort: 1 ---- - -> {tip} Right click on each item to open the context menu. - -
- -
- -> {tip} Try using the up and down arrows as well to navigate the menu. - -```html - - - -``` - -[Demo Source](https://github.com/rawilk/vue-context/blob/master/docs-build/js/basic/basic-usage.vue) - - diff --git a/docs/demos/props.md b/docs/demos/props.md deleted file mode 100644 index 34e79eb..0000000 --- a/docs/demos/props.md +++ /dev/null @@ -1,166 +0,0 @@ ---- -title: Props Demo -sort: 3 ---- - -## Close on click - -When `closeOnClick` is set to `false`, the context menu will not automatically close when clicked on. -You can toggle this feature on and off in this demo by using the checkbox below. - -
- -
- -```html - - - -``` - -[Demo Source](https://github.com/rawilk/vue-context/blob/master/docs-build/js/props/close-on-click.vue) - -## Close on scroll - -If `closeOnScroll` is set to `true`, the context menu will close automatically when the window is scrolled. -You can toggle this feature on and off in this demo by using the checkbox below. - -
- -
- -```html - - - -``` - -[Demo Source](https://github.com/rawilk/vue-context/blob/master/docs-build/js/props/close-on-scroll.vue) - - diff --git a/docs/introduction.md b/docs/introduction.md index e7c1cb9..01bf2b2 100644 --- a/docs/introduction.md +++ b/docs/introduction.md @@ -3,6 +3,10 @@ title: Introduction sort: 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](https://github.com/vuejs/awesome-vue#context-menu). + ## Introduction `vue-context` provides a simple yet flexible context menu for Vue. It is styled for the standard `