All Projects → cevherkarakoc → Pie-Context-Menu

cevherkarakoc / Pie-Context-Menu

Licence: GPL-3.0 license
A Pie Context Menu for Web pages

Programming Languages

javascript
184084 projects - #8 most used programming language
CSS
56736 projects

Projects that are alternatives of or similar to Pie-Context-Menu

xMenuTools
Extended context menu tools for Windows
Stars: ✭ 56 (+180%)
Mutual labels:  context-menu, right-click
ember-right-click-menu
An easy and flexible addon to add context menus anywhere in your application
Stars: ✭ 14 (-30%)
Mutual labels:  context-menu, right-click
rctx-contextmenu
✨ Context menu for React
Stars: ✭ 23 (+15%)
Mutual labels:  context-menu, right-click
ctxmenu
Tiny and customizable context menu generator
Stars: ✭ 20 (+0%)
Mutual labels:  context-menu, right-click
ng2-right-click-menu
Right click context menu for Angular 2+
Stars: ✭ 51 (+155%)
Mutual labels:  context-menu, right-click
Ngcontextmenu
Handcraft your very own context menus for a richer UX!
Stars: ✭ 81 (+305%)
Mutual labels:  context-menu
JonContextMenu
A beautiful and minimalist arc menu like the Pinterest one, written in Swift
Stars: ✭ 60 (+200%)
Mutual labels:  context-menu
Msys2 Mingw Shortcut Menus
Configuration files needed to set up right-click shortcut in context menus for MSYS2, MinGW32/64 bash
Stars: ✭ 60 (+200%)
Mutual labels:  context-menu
slash-commands
slash commands handler to make your bot support slash commands.
Stars: ✭ 59 (+195%)
Mutual labels:  context-menu
React Contexify
Add a context menu to your react app with ease
Stars: ✭ 575 (+2775%)
Mutual labels:  context-menu
ShellAnything
ShellAnything is a C++ open-source software which allow one to easily customize and add new options to *Windows Explorer* context menu. Define specific actions when a user right-click on a file or a directory.
Stars: ✭ 103 (+415%)
Mutual labels:  context-menu
Customrightclickmenu
A browser extension to add links and run scripts/stylesheets all from your right-click menu
Stars: ✭ 102 (+410%)
Mutual labels:  context-menu
Vue Context
A simple vue context menu component.
Stars: ✭ 240 (+1100%)
Mutual labels:  context-menu
React Native Selectable Text
Capture text selection and customize the action menu
Stars: ✭ 174 (+770%)
Mutual labels:  context-menu
Sheeeeeeeeet
Sheeeeeeeeet is a Swift library for creating menus, custom action sheets, context menus etc.
Stars: ✭ 1,177 (+5785%)
Mutual labels:  context-menu
vue3-context-menu
A very simple context menu component for Vue3 一个简洁美观简单的Vue3右键菜单组件
Stars: ✭ 74 (+270%)
Mutual labels:  context-menu
Context Search
A Firefox WebExtension that displays a context menu, that searches for the selected text.
Stars: ✭ 26 (+30%)
Mutual labels:  context-menu
RCWM
Right Click Windows Magic is an open-source set of right-click (context) menu tools for admins, power users and other magic beings. Batch&Powershell.
Stars: ✭ 39 (+95%)
Mutual labels:  right-click
VirusTotalScanner
Scan suspicious applications with over 60 different anti-viruses with a mere two clicks and five seconds!
Stars: ✭ 18 (-10%)
Mutual labels:  context-menu
ContextMenuSwift
A better version of iOS 13 Context Menu
Stars: ✭ 162 (+710%)
Mutual labels:  context-menu

Pie Context Menu

alt text

Pie CM is a customizable and functional context menu (right-click menu) for HTML page.

Demo 1 - (Basic) | | Demo 2 - (Stylized) | | Demo 3 - (Responsive) | | Demo 4 - (Google Icons)

Installation

Standalone

Download pie-cm.min.js and pie-cm_core.min.cs files. Include them in your HTML

<script src="dist/pie-cm.min.js"></script>
<link href="dist/pie-cm_core.min.css" rel="stylesheet" />

Bower

$ bower install pie-cm
<script src="bower_components/dist/pie-cm.min.js"></script>
<link href="bower_components/dist/pie-cm_core.min.css" rel="stylesheet" />

Usage


1- HTML:

  • Add right clickable items
<... class="menuable" ...> ITEM 1 </...>
<... class="menuable" ...> ITEM 2 </...>

2- JavaScript:

  • Create Menu
var my_menu = new PieContextMenu({
    menuID:"my_menu",
    menuItemClass:"menuable",
    menuSize:220
});
  • Create Menu Button
my_menu.addButton("Delete","\uf1f8");
  • Add Event Listener to Button
my_menu.buttons[0].element.addEventListener("click",myFunc,false);

Customize


alt text

.pie-context-menu circle.pcm_center{
    fill:#80BD9E;
}

.pie-context-menu circle.pcm_button{
    stroke:#FFB85F;
}
    
.pie-context-menu circle.pcm_button--hover{
    stroke: #FF7A5A;
}

.pie-context-menu text.pcm_title{
    fill:white;
}

.pie-context-menu text.pcm_icon{
    fill:white;
    font-size:32px;
    font-family:FontAwesome;
}

.pie-context-menu text.pcm_icon--hover{
    fill:#763626;
}

Useful Methods


my_menu.resize(300) //resize the menu;

my_menu.openMenu() //open the menu;
my_menu.closeMenu() //close the menu;

my_menu.buttons[index].changeText("NEW TEXT");
my_menu.buttons[index].changeIcon("\uf1ea");

Contributors

License


Licensed under GPLv3

alt text

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].