ページ内ナビ
概要
jQuery contextMenu 2.9.2は多数のelementに対してcontext menuを管理するjQuery plugin/polyfillです。menu markupを事前に大量生成せず、必要時にDOMを作成し、mouse操作だけでなくkeyboard navigationやsubmenu、input要素を含むmenuを構成できます。
特徴と向いている用途
公式資料に基づく紹介・実機未検証 · 内容確認日:
主な特徴
向いている用途
多数rowやnodeに右クリックactionを提供するlegacy jQuery UIに向く
table rowやtree node等、多数のtriggerへ同じaction menuを効率よく割り当てたいjQuery applicationで利用しやすい設計です。
出典:[1]
導入前の確認
実配布baselineは2.9.2で、GitHub 2.10.0はnpmに存在しない
GitHub latest release 2.10.0は本文でPhantom release, not available on npmと明記され、2.10.0 tag内のpackage.jsonもversion 2.9.2です。npmでは2.9.2を基準にしてください。
2.9.2はjQuery >=1.8.2をpeer dependencyに持つ
2.9.2 package metadataはjQuery >=1.8.2をpeer dependencyとして宣言しています。
出典:[2]
参考にした公式資料
- [1]jQuery contextMenu 2.9.2 README(2026-10-05)
- [2]jQuery contextMenu 2.9.2 package metadata(2026-10-05)
- [3]jQuery contextMenu 2.9.2 release(2026-10-05)
- [4]jQuery contextMenu 2.10.0 phantom release(2026-10-05)
- [5]jQuery contextMenu package metadata at 2.10.0 tag(2026-10-05)
- [6]jQuery contextMenu MIT license(2026-10-05)
編集部からの補足
実配布baselineはnpm package jquery-contextmenu 2.9.2です。GitHubのlatest release 2.10.0はrelease note自体が「Phantom release, not available on npm」と明記し、tag内package.jsonも2.9.2のままです。npm導入では2.10.0を指定しないでください。
3ステップで試す
- 1
npm配布されているjQuery contextMenu 2.9.2を固定して導入する
npmに存在しない2.10.0ではなく、実配布baselineの2.9.2をjQueryとともに導入します。
demo=$(mktemp -d "${TMPDIR:-/tmp}/jquery-contextmenu.XXXXXX") && cd "$demo" && npm init -y >/dev/null && npm install --save-exact jquery-contextmenu@2.9.2 jquery@3.7.1 - 2
package versionとjQuery peer rangeを確認する
実配布versionとjQueryのpeer dependencyを確認します。
test "$(node -e "const fs=require('fs');const p=JSON.parse(fs.readFileSync('node_modules/jquery-contextmenu/package.json'));console.log(p.version+'/'+p.peerDependencies.jquery)")" = '2.9.2/>=1.8.2' - 3
context menuとposition helperのdistributionを確認する
browserを起動せず、context menu本体とoptional position helperのdistributionを確認します。
test -f node_modules/jquery-contextmenu/dist/jquery.contextMenu.js && test -f node_modules/jquery-contextmenu/dist/jquery.contextMenu.css && test -f node_modules/jquery-contextmenu/dist/jquery.ui.position.js
成長
成長の推移 · 直近30日
2,244 Stars
推移データを蓄積中です。
開発アクティビティ
直近90日・週次
- Commit(直近30日)
- 0
- Open PR
- 5
開発アクティビティを蓄積中です。
Built with
カテゴリとタグ
カテゴリ
GitHubデータ
GitHubのデータGitHubの詳細データを見る
GitHub Topics
- contextmenu
- html
- jquery-contextmenu
- jquery
- jquery-plugin
- html5
- polyfill
- hacktoberfest
- Stars
- 2,244
- Forks
- 719
- Watchers
- 120
- Open Issues
- 102
- Contributors
- 59
- 所有者種別
- Organization
- 主要言語
- JavaScript
- ライセンス
- MIT
- リポジトリ最終更新
- 2026/07/30
関連情報
関連記事を投稿するこのOSSの使い方や活用事例をMarkdownで投稿できます。管理者が承認した後に公開されます。
あわせて探訪
- Expo52,566 Stars
共通タグ 3件 · 共通カテゴリ 1件
React NativeアプリをAndroid・iOS・Webへ一つのprojectから展開する
TypeScript - PrimeVue14,455 Stars
共通タグ 3件 · 共通カテゴリ 1件
80以上のVue UI component、theme、unstyled構成を一つのlibraryで揃える
Vue - React250,891 Stars
共通タグ 3件 · 同じ言語
コンポーネントを組み合わせてWeb・ネイティブUIを構築するJavaScriptライブラリ
JavaScript - Svelte88,287 Stars
共通タグ 3件 · 同じ言語
componentをcompile時に効率的なJavaScriptへ変換し、runesでreactive UIを記述する
JavaScript - SortableJS31,186 Stars
共通タグ 3件 · 同じ言語
リスト要素を同一・別リスト間でドラッグ&ドロップ並べ替えし、タッチ操作にも対応する
JavaScript - PhotoSwipe25,270 Stars
共通タグ 3件 · 同じ言語
画像ギャラリーをlightboxで拡大表示し、swipe・zoom・dynamic importをモバイルとデスクトップで扱う
JavaScript
情報の誤りを報告
掲載内容に誤りや古い情報があればお知らせください。