• Stars
    star
    208
  • Rank 182,482 (Top 4 %)
  • Language
    JavaScript
  • License
    MIT License
  • Created about 11 years ago
  • Updated over 2 years ago

Reviews

There are no reviews yet. Be the first to send feedback to the community and the maintainers!

Repository Details

contextMenu.js is a plugin to create windows like context menu with keyboard interaction, different type of inputs ,trigger events and much more.

Notice

This is a legacy module and I am not maintining this repo currently. So only new PRs are accepeted.

contextMenu.js

contextMenu.js is a plugin to create windows like context menu with keyboard interaction, different type of inputs ,trigger events and much more.
Why contextMenu.js ?:

  • Use as simple popup or as a context menu. With some tweaking, it can be used for multiple purposes.
  • Adjust position and size to fit in viewport.
  • Keyboard interaction.
  • Support for different types of inputs (structure object, UL list) .
  • Trigger Context menu with right-click, left-click,hover or any other mouse events.
  • Support touch devices.
  • Css outside of javascript so you can edit the look of menu.
  • Enable/disable options.
  • Optional icons for commands.
  • Lot of configurable options.
  • Submenus

Major Updates

1.4.0

  1. Added support for touch devices. (Make sure to update css file too)
  2. Removed sizeStyle option and forced menu to take height of inner content. With size style auto lot of issue with different devices were coming.

1.2.0

  1. Added a "closeOnClick" option to close contentext menu on click of any item.
  2. Added a className key when generating context menu through object to give style on specific item of menu.
  3. Fixed keybord event.

More Repositories

1

react-number-format

React component to format numbers in an input or as a text.
JavaScript
3,763
star
2

iv-viewer

A zooming and panning plugin inspired by google photos for your web images.
JavaScript
441
star
3

patternLock

A light weight plugin to simulate android like pattern lock interface for your hybrid app or website.
JavaScript
376
star
4

angulargrid

Pinterest like responsive masonry grid system for angular
JavaScript
277
star
5

radialIndicator

A simple and light weight circular indicator / progressbar plugin.
JavaScript
232
star
6

react-meta-tags

Handle document meta/head tags in isomorphic react with ease.
JavaScript
226
star
7

ScrollMenu

A new interface to replace your old boring scrollbar
JavaScript
203
star
8

jsonQ

A JavaScript library to make manipulation and extraction of data from a JSON very easy and fast.
JavaScript
202
star
9

relative-to-alias

πŸ› οΈ A codemod to do large-scale refactor of your relative path imports to alias.
JavaScript
127
star
10

FlakeId

Twittter Snowflake like unique id generator plugin for nodejs and browser
JavaScript
76
star
11

modalBox.js

A very light weight and minimal plugin to display modal window.
JavaScript
43
star
12

patternCaptcha

Android like pattern matching captcha system for your node webapps.
JavaScript
42
star
13

github-turbo-pr

Chrome extension to optimize github for handling big pull request. πŸš€
JavaScript
25
star
14

eventPause.js

eventPause is a tiny plugin with lots of methods to control events. So whenever you want you can pause and activate any event.
JavaScript
21
star
15

create-effect

A small utility to create custom hooks using useEffect
JavaScript
9
star
16

fqueue

A micro-plugin to queue function execution to handle asynchronous flow and stepping through functions.
JavaScript
7
star
17

coequal.js

coequal is a small utility function to check equality of all data types and objects in JavaScript.
JavaScript
6
star
18

node-website-build-script

Boilerplate to use node.js as a build script for web projects.
CSS
4
star
19

LongListScroller

A small plugin to handle long list scroll using IScroll
JavaScript
3
star
20

findR.js

A find and replace JavaScript plugin for webpages.
JavaScript
3
star
21

deferred

A mini deferred plugin, having just what you need
JavaScript
2
star
22

ask-me-anything

A place where you can ask me anything about frontend, architecture, performance or general career stuff
2
star
23

number-format-app

JavaScript
1
star
24

class-to-function-with-react-hooks

Examples to map lifecycle method of a class component to a functional component with react hooks
JavaScript
1
star
25

isomorphic_react_sample

An isomorphic react sample app.
JavaScript
1
star
26

babel-plugin-react-create-element-alias

A babel plugin to replace React.createElement to an alias
JavaScript
1
star
27

patch-commits

Patch all commits to have desired changes in a branch
JavaScript
1
star
28

s-yadav.github.com

HTML
1
star
29

useful-array-prototypes

This repository contains some useful prototypes which native javascript dont provide or have some perfomance gain over native javascript functionality.
JavaScript
1
star