{"_id":"@contagt/metismenu","name":"@contagt/metismenu","dist-tags":{"latest":"3.0.9"},"versions":{"3.0.9":{"name":"@contagt/metismenu","version":"3.0.9","description":"A jQuery menu plugin","main":"dist/cjs/index.js","module":"dist/modules/index.js","browser":"dist/metisMenu.js","unpkg":"dist/metisMenu.min.js","jsdelivr":"dist/metisMenu.min.js","typings":"types/metismenu.d.ts","style":"dist/metisMenu.css","scripts":{"js:dev":"rollup -c -w","js:prod":"rollup -c","js:minify":"uglifyjs --compress typeofs=false --mangle --comments \"/^!/\" --source-map \"content=dist/metisMenu.js.map,includeSources,url=metisMenu.min.js.map\" --output dist/metisMenu.min.js dist/metisMenu.js","css:dev":"postcss src/metisMenu.css -o dist/metisMenu.css --map","css:min":"cross-env NODE_ENV=production postcss src/metisMenu.css -o dist/metisMenu.min.css --map","build":"npm run js:prod && npm run js:minify && npm run css:dev && npm run css:min","test":"eslint src/*.js","deploy":"gh-pages -d demo"},"repository":{"type":"git","url":"git+https:/github.com:contagt/metismenu.git"},"keywords":["accordion","bootstrap","jquery","menu","metis","metisMenu","toggle","twbs","twitter"],"author":{"name":"Osman Nuri Okumus","email":"onokumus@gmail.com","url":"https://github.com/onokumus"},"contributors":[{"name":"Rein de Vries","email":"info@reinos.nl","url":"https://github.com/reinos/"},{"name":"Arthur CHAN","email":"arthur@talkgoal.com","url":"http://catchtop.com"},{"name":"Andrew Eastwood","url":"https://github.com/AndrewEastwood"},{"name":"Marcelo Tosco","email":"capy.net@gmail.com","url":"http://ecapy.com"},{"name":"Radoslav Štofko","url":"http://www.stoweb.cz"},{"name":"Umut Karcı","email":"cediddi@gmail.com","url":"https://github.com/cediddi"},{"name":"Chris Wiggins","email":"chris@wiggins.nz","url":"https://github.com/chriswiggins"},{"name":"Jacob Magnusson","email":"m@jacobian.se","url":"https://github.com/jmagnusson"},{"name":"QQ","email":"sinabs@gmail.com","url":"https://github.com/sinabs"},{"name":"roman","email":"rgnevashev@gmail.com","url":"https://github.com/rgnevashev"},{"name":"diegozhu","email":"zhuhaiyang55@gmail.com","url":"http://sae.zhuhaiyang.me"},{"name":"WoMayr","url":"https://github.com/WoMayr"},{"name":"719media","url":"https://github.com/719media"},{"name":"Boris Burkov","url":"Boris Burkov"},{"name":"Matt Dziuban","url":"http://mattdziuban.com"},{"name":"Valerio Belli","url":"https://github.com/DrugoLebowski"},{"name":"Diogo Pereira","email":"diogopereira@pereiradiogo.com","url":"http://pereiradiogo.com"},{"name":"Nicolas Igot","email":"nicolasigot@gmail.com","url":"http://www.igot-web.com"}],"license":"MIT","bugs":{"url":"https://github.com/onokumus/metismenu/issues"},"homepage":"https://github.com/onokumus/metismenu#readme","devDependencies":{"@babel/core":"^7.9.0","@babel/plugin-proposal-object-rest-spread":"^7.9.0","@babel/preset-env":"^7.9.0","@rollup/plugin-commonjs":"^11.0.2","@rollup/plugin-node-resolve":"^7.1.1","@types/jquery":"^3.3.33","cross-env":"^7.0.2","cssnano":"^4.1.10","eslint":"^6.8.0","eslint-config-airbnb-base":"^14.1.0","eslint-plugin-import":"^2.20.1","gh-pages":"^2.2.0","postcss-cli":"^7.1.0","postcss-header":"^2.0.0","postcss-preset-env":"^6.7.0","rollup":"^2.1.0","rollup-plugin-babel":"^4.4.0","uglify-js":"^3.8.0"},"verb":{"toc":{"collapsible":false,"method":"preWrite"},"tasks":["readme"],"plugins":["gulp-format-md"],"helpers":["helper-changelog"],"related":{"list":["metismenujs","onoffcanvas"]},"reflinks":["metismenujs","chl","elektron","onoffcanvas","twbuttons"]},"peerDependencies":{"jquery":"^3.4.1"},"dependencies":{"acorn-jsx":"^5.3.2","alphanum-sort":"^1.0.2","acorn":"^7.4.1","ansi-escapes":"^4.3.2","ansi-regex":"^4.1.1","ansi-styles":"^3.2.1","anymatch":"^3.1.2","argparse":"^1.0.10","ajv":"^6.12.6","array-union":"^1.0.2","array-includes":"^3.1.5","array-uniq":"^1.0.3","array.prototype.flat":"^1.3.0","async":"^2.6.4","array.prototype.reduce":"^1.0.4","astral-regex":"^1.0.0","at-least-node":"^1.0.0","autoprefixer":"^9.8.8","babel-plugin-dynamic-import-node":"^2.3.3","babel-plugin-polyfill-corejs2":"^0.3.3","babel-plugin-polyfill-corejs3":"^0.6.0","babel-plugin-polyfill-regenerator":"^0.4.1","balanced-match":"^1.0.2","binary-extensions":"^2.2.0","boolbase":"^1.0.0","brace-expansion":"^1.1.11","braces":"^3.0.2","buffer-from":"^1.1.2","browserslist":"^4.21.4","builtin-modules":"^3.3.0","caller-callsite":"^2.0.0","call-bind":"^1.0.2","caller-path":"^2.0.0","callsites":"^2.0.0","camelcase":"^5.3.1","caniuse-api":"^3.0.0","caniuse-lite":"^1.0.30001412","chalk":"^2.4.2","chardet":"^0.7.0","chokidar":"^3.5.3","cli-width":"^3.0.0","cli-cursor":"^3.1.0","cliui":"^6.0.0","coa":"^2.0.2","clone-deep":"^4.0.1","color":"^3.2.1","color-convert":"^1.9.3","color-string":"^1.9.1","color-name":"^1.1.3","commander":"^2.20.3","commondir":"^1.0.1","concat-map":"^0.0.1","confusing-browser-globals":"^1.0.11","convert-source-map":"^1.8.0","core-js-compat":"^3.25.3","cross-spawn":"^7.0.3","cosmiconfig":"^5.2.1","css-blank-pseudo":"^0.1.4","css-color-names":"^0.0.4","css-declaration-sorter":"^4.0.1","css-has-pseudo":"^0.10.0","css-prefers-color-scheme":"^3.1.1","css-select":"^2.1.0","css-select-base-adapter":"^0.1.1","css-tree":"^1.0.0-alpha.37","cssdb":"^4.4.0","css-what":"^3.4.2","cssnano-preset-default":"^4.0.8","cssesc":"^3.0.0","cssnano-util-get-arguments":"^4.0.0","cssnano-util-raw-cache":"^4.0.1","cssnano-util-get-match":"^4.0.0","cssnano-util-same-parent":"^4.0.1","debug":"^4.3.4","csso":"^4.2.0","decamelize":"^1.2.0","deep-is":"^0.1.4","define-properties":"^1.1.4","dependency-graph":"^0.9.0","dir-glob":"^3.0.1","doctrine":"^3.0.0","dom-serializer":"^0.2.2","domelementtype":"^1.3.1","domutils":"^1.7.0","electron-to-chromium":"^1.4.264","dot-prop":"^5.3.0","email-addresses":"^3.1.0","emoji-regex":"^8.0.0","entities":"^2.2.0","error-ex":"^1.3.2","es-abstract":"^1.20.3","es-array-method-boxes-properly":"^1.0.0","es-shim-unscopables":"^1.0.0","es-to-primitive":"^1.2.1","escalade":"^3.1.1","escape-string-regexp":"^1.0.5","eslint-import-resolver-node":"^0.3.6","eslint-module-utils":"^2.7.4","eslint-scope":"^5.1.1","eslint-utils":"^1.4.3","eslint-visitor-keys":"^1.3.0","esprima":"^4.0.1","espree":"^6.2.1","esquery":"^1.4.0","esrecurse":"^4.3.0","estraverse":"^4.3.0","estree-walker":"^1.0.1","esutils":"^2.0.3","external-editor":"^3.1.0","fast-deep-equal":"^3.1.3","fast-glob":"^3.2.12","fast-json-stable-stringify":"^2.1.0","fastq":"^1.13.0","fast-levenshtein":"^2.0.6","figures":"^3.2.0","file-entry-cache":"^5.0.1","filename-reserved-regex":"^1.0.0","filenamify":"^1.2.1","filenamify-url":"^1.0.0","fill-range":"^7.0.1","find-cache-dir":"^2.1.0","find-up":"^3.0.0","flat-cache":"^2.0.1","flatted":"^2.0.2","flatten":"^1.0.3","fs-extra":"^8.1.0","fs.realpath":"^1.0.0","function-bind":"^1.1.1","function.prototype.name":"^1.1.5","functions-have-names":"^1.2.3","functional-red-black-tree":"^1.0.1","gensync":"^1.0.0-beta.2","get-intrinsic":"^1.1.3","get-caller-file":"^2.0.5","get-stdin":"^8.0.0","get-symbol-description":"^1.0.0","glob":"^7.2.3","glob-parent":"^5.1.2","globby":"^6.1.0","globals":"^11.12.0","graceful-fs":"^4.2.10","has":"^1.0.3","has-bigints":"^1.0.2","has-property-descriptors":"^1.0.0","has-flag":"^3.0.0","has-symbols":"^1.0.3","has-tostringtag":"^1.0.0","hex-color-regex":"^1.1.0","hsl-regex":"^1.0.0","hsla-regex":"^1.0.0","humanize-url":"^1.0.1","iconv-lite":"^0.4.24","ignore":"^4.0.6","import-cwd":"^2.1.0","import-fresh":"^2.0.0","import-from":"^2.1.0","imurmurhash":"^0.1.4","inflight":"^1.0.6","indexes-of":"^1.0.1","inherits":"^2.0.4","inquirer":"^7.3.3","internal-slot":"^1.0.3","is-arrayish":"^0.2.1","is-absolute-url":"^2.1.0","is-bigint":"^1.0.4","is-binary-path":"^2.1.0","is-boolean-object":"^1.1.2","is-callable":"^1.2.7","is-color-stop":"^1.1.0","is-core-module":"^2.10.0","is-date-object":"^1.0.5","is-directory":"^0.3.1","is-fullwidth-code-point":"^3.0.0","is-extglob":"^2.1.1","is-glob":"^4.0.3","is-module":"^1.0.0","is-negative-zero":"^2.0.2","is-number":"^7.0.0","is-number-object":"^1.0.7","is-obj":"^2.0.0","is-plain-object":"^2.0.4","is-plain-obj":"^1.1.0","is-reference":"^1.2.1","is-regex":"^1.1.4","is-resolvable":"^1.1.0","is-shared-array-buffer":"^1.0.2","is-string":"^1.0.7","is-symbol":"^1.0.4","is-weakref":"^1.0.2","isexe":"^2.0.0","isobject":"^3.0.1","js-tokens":"^4.0.0","js-yaml":"^3.14.1","jsesc":"^2.5.2","json-parse-better-errors":"^1.0.2","json-schema-traverse":"^0.4.1","json-stable-stringify-without-jsonify":"^1.0.1","json5":"^2.2.1","kind-of":"^6.0.3","jsonfile":"^4.0.0","levn":"^0.3.0","locate-path":"^3.0.0","lodash":"^4.17.21","lodash.debounce":"^4.0.8","lodash.memoize":"^4.1.2","lodash.uniq":"^4.5.0","log-symbols":"^2.2.0","magic-string":"^0.25.9","make-dir":"^2.1.0","mdn-data":"^2.0.4","merge2":"^1.4.1","minimatch":"^3.1.2","mimic-fn":"^2.1.0","mkdirp":"^0.5.6","ms":"^2.1.2","mute-stream":"^0.0.8","natural-compare":"^1.4.0","nice-try":"^1.0.5","node-releases":"^2.0.6","normalize-path":"^3.0.0","normalize-range":"^0.1.2","normalize-url":"^1.9.1","nth-check":"^1.0.2","num2fraction":"^1.2.2","object-assign":"^4.1.1","object-inspect":"^1.12.2","object-keys":"^1.1.1","object.entries":"^1.1.5","object.assign":"^4.1.4","minimist":"^1.2.6","object.getownpropertydescriptors":"^2.1.4","once":"^1.4.0","object.values":"^1.1.5","optionator":"^0.8.3","onetime":"^5.1.2","os-tmpdir":"^1.0.2","p-limit":"^2.3.0","p-locate":"^3.0.0","p-try":"^2.2.0","parse-json":"^4.0.0","parent-module":"^1.0.1","path-exists":"^3.0.0","path-parse":"^1.0.7","path-key":"^3.1.1","path-is-absolute":"^1.0.1","path-type":"^4.0.0","picocolors":"^0.2.1","picomatch":"^2.3.1","pify":"^2.3.0","pinkie":"^2.0.4","pinkie-promise":"^2.0.1","pkg-dir":"^3.0.0","jquery":"^3.6.1","pirates":"^4.0.5","postcss":"^7.0.39","postcss-attribute-case-insensitive":"^4.0.2","postcss-color-functional-notation":"^2.0.1","postcss-calc":"^7.0.5","postcss-color-hex-alpha":"^5.0.3","postcss-color-gray":"^5.0.0","postcss-color-mod-function":"^3.0.3","postcss-color-rebeccapurple":"^4.0.1","postcss-colormin":"^4.0.3","postcss-convert-values":"^4.0.1","postcss-custom-media":"^7.0.8","postcss-custom-properties":"^8.0.11","postcss-custom-selectors":"^5.1.2","postcss-discard-comments":"^4.0.2","postcss-dir-pseudo-class":"^5.0.0","postcss-discard-duplicates":"^4.0.2","postcss-discard-empty":"^4.0.1","postcss-discard-overridden":"^4.0.1","postcss-env-function":"^2.0.2","postcss-double-position-gradients":"^1.0.0","postcss-focus-visible":"^4.0.0","postcss-focus-within":"^3.0.0","postcss-font-variant":"^4.0.1","postcss-initial":"^3.0.4","postcss-image-set-function":"^3.0.1","postcss-gap-properties":"^2.0.0","postcss-logical":"^3.0.0","postcss-lab-function":"^2.0.1","postcss-load-config":"^2.1.2","postcss-media-minmax":"^4.0.0","postcss-merge-longhand":"^4.0.11","postcss-merge-rules":"^4.0.3","postcss-minify-font-values":"^4.0.2","postcss-minify-gradients":"^4.0.2","postcss-minify-params":"^4.0.2","postcss-minify-selectors":"^4.0.2","postcss-normalize-charset":"^4.0.1","postcss-nesting":"^7.0.1","postcss-normalize-display-values":"^4.0.2","postcss-normalize-positions":"^4.0.2","postcss-normalize-string":"^4.0.2","postcss-normalize-repeat-style":"^4.0.2","postcss-normalize-unicode":"^4.0.1","postcss-normalize-url":"^4.0.1","postcss-normalize-timing-functions":"^4.0.2","postcss-normalize-whitespace":"^4.0.2","postcss-ordered-values":"^4.1.2","postcss-overflow-shorthand":"^2.0.0","postcss-page-break":"^2.0.0","postcss-place":"^4.0.1","postcss-pseudo-class-any-link":"^6.0.0","postcss-reduce-transforms":"^4.0.2","postcss-reduce-initial":"^4.0.3","postcss-replace-overflow-wrap":"^3.0.0","postcss-reporter":"^6.0.1","postcss-selector-matches":"^4.0.0","postcss-selector-not":"^4.0.1","postcss-selector-parser":"^6.0.10","postcss-svgo":"^4.0.3","postcss-value-parser":"^4.2.0","postcss-unique-selectors":"^4.0.1","postcss-values-parser":"^2.0.1","prelude-ls":"^1.1.2","prepend-http":"^1.0.4","progress":"^2.0.3","pretty-hrtime":"^1.0.3","punycode":"^2.1.1","q":"^1.5.1","query-string":"^4.3.4","read-cache":"^1.0.0","queue-microtask":"^1.2.3","readdirp":"^3.6.0","regenerator-runtime":"^0.13.9","regenerator-transform":"^0.15.0","regenerate":"^1.4.2","regenerate-unicode-properties":"^10.1.0","regexpp":"^2.0.1","regexpu-core":"^5.2.1","regexp.prototype.flags":"^1.4.3","regjsgen":"^0.7.1","regjsparser":"^0.9.1","require-directory":"^2.1.1","require-main-filename":"^2.0.0","resolve":"^1.22.1","resolve-from":"^3.0.0","rgb-regex":"^1.0.1","restore-cursor":"^3.1.0","reusify":"^1.0.4","rgba-regex":"^1.0.0","rimraf":"^2.6.3","rollup-pluginutils":"^2.8.2","run-async":"^2.4.1","safe-buffer":"^5.1.2","run-parallel":"^1.2.0","rxjs":"^6.6.7","safer-buffer":"^2.1.2","sax":"^1.2.4","safe-regex-test":"^1.0.0","set-blocking":"^2.0.0","semver":"^6.3.0","shallow-clone":"^3.0.1","shebang-command":"^2.0.0","shebang-regex":"^3.0.0","side-channel":"^1.0.4","simple-swizzle":"^0.2.2","slash":"^3.0.0","signal-exit":"^3.0.7","slice-ansi":"^2.1.0","sort-keys":"^1.1.2","source-map":"^0.6.1","source-map-support":"^0.5.21","sourcemap-codec":"^1.4.8","sprintf-js":"^1.0.3","strict-uri-encode":"^1.1.0","stable":"^0.1.8","string-width":"^4.2.3","string.prototype.trimend":"^1.0.5","strip-bom":"^3.0.0","string.prototype.trimstart":"^1.0.5","strip-ansi":"^5.2.0","strip-json-comments":"^3.1.1","strip-url-auth":"^1.0.1","strip-outer":"^1.0.1","supports-color":"^5.5.0","svgo":"^1.3.2","supports-preserve-symlinks-flag":"^1.0.0","table":"^5.4.6","text-table":"^0.2.0","through":"^2.3.8","timsort":"^0.3.0","to-fast-properties":"^2.0.0","tmp":"^0.0.33","to-regex-range":"^5.0.1","tsconfig-paths":"^3.14.1","trim-repeated":"^1.0.0","tslib":"^1.14.1","type-check":"^0.3.2","unbox-primitive":"^1.0.2","type-fest":"^0.21.3","unicode-canonical-property-names-ecmascript":"^2.0.0","unicode-property-aliases-ecmascript":"^2.1.0","unicode-match-property-value-ecmascript":"^2.0.0","unicode-match-property-ecmascript":"^2.0.0","uniq":"^1.0.1","uniqs":"^2.0.0","universalify":"^0.1.2","uri-js":"^4.4.1","unquote":"^1.1.1","update-browserslist-db":"^1.0.9","util-deprecate":"^1.0.2","v8-compile-cache":"^2.3.0","util.promisify":"^1.0.1","vendors":"^1.0.4","which":"^2.0.2","which-boxed-primitive":"^1.0.2","which-module":"^2.0.0","word-wrap":"^1.2.3","wrap-ansi":"^6.2.0","wrappy":"^1.0.2","write":"^1.0.3","yargs":"^15.4.1","y18n":"^4.0.3","yargs-parser":"^18.1.3","stylehacks":"^4.0.3","micromatch":"^4.0.5"},"gitHead":"086b9c931ce3414d7e2487ea974cbf3df37506b8","_id":"@contagt/metismenu@3.0.9","_nodeVersion":"14.19.1","_npmVersion":"8.0.0","dist":{"integrity":"sha512-cdCtqrDFxWmtrxjz76kqHc0VB2/bb9PVNBpvNU+YUtzxtbQezxskKTUN0uE8m4LSbrygrNtuIkc1pi+RmkETfA==","shasum":"976c0e38e1b9488f271a3656dd39e4a900fa6985","tarball":"https://registry.npmjs.org/@contagt/metismenu/-/metismenu-3.0.9.tgz","fileCount":17,"unpackedSize":121351,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDuNirwNwHpxj8oQD6iYAcDuU/pSL/9uezcyEnxk3a8lgIgGOO2xgAu09DW2lUWHFBt4CIUr4PoN+Fs9PVd3CWhnNY="}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJjMsvHACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2Vmof5w//W5SjEnj/kb94N4Di9NChnPtWPy5gbcCpCb24LR05ZZ4laIt6\r\ngoIlDTS8hIWR3TS1XYe+fCqCnuGm3iO6jsTK9FBB5kbvakGGZXslfMYwV6Vr\r\numgCR0SZMQNxJqsXgRP2nxrqORiMYEbzZh+1kMx1d8Un/b5cFEI6dOuu+rDT\r\nL3NpDjIyGnwnsv/S29l+CBgZa0eIgycsIpUqcuDlISqXaq+/GqG6BTCrQR+6\r\n1OxI9KOrztNgr6yM2gtjcZV5iLG1P84M8ydiXucJaQOmJk9F826YN51cIxfe\r\naoKH/q0OQ9pUCmYQANtR7cSuEty+odz1oQWoBQCiZh/Jm0nQpaRB9XEiLa0e\r\nNv4K0/Akxim/kXxFoP5Tb35ouhqWbH5i1Cp3/AnJ0slGjYvqQcqkaCvF8jmt\r\nD9yn+kU+xOmv4/MHJae0kmA+g00XOE6eo5OoCdtskmEKc+9Rcg1zx72xc6tr\r\nyKg6ATgBekW+ls9nWovOqH1JUbWU8kiQh/56nQVF+E4YXV0ViE6vGLHODhnR\r\naUBgAj+h+L4zgFaY3fdOruiitILqSvziFQVdk7VdjBUDc37PqBDsAjhPJu2M\r\n1h5iU73241ooFZoR9Ml7LbWkdNrUNp3hyiUAXP906jMXd7CgO9RhmS9RR74Y\r\nMc7uecS/XKrfsF9v3E/DiOpcAUBooL3Lm+s=\r\n=pqtZ\r\n-----END PGP SIGNATURE-----\r\n"},"_npmUser":{"name":"sbrandt","email":"stephan@contagt.com"},"directories":{},"maintainers":[{"name":"sbrandt","email":"stephan@contagt.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/metismenu_3.0.9_1664273351424_0.8208676645999533"},"_hasShrinkwrap":false}},"time":{"created":"2022-09-27T10:09:11.345Z","3.0.9":"2022-09-27T10:09:11.576Z","modified":"2022-09-27T10:09:11.746Z"},"maintainers":[{"name":"sbrandt","email":"stephan@contagt.com"}],"description":"A jQuery menu plugin","homepage":"https://github.com/onokumus/metismenu#readme","keywords":["accordion","bootstrap","jquery","menu","metis","metisMenu","toggle","twbs","twitter"],"repository":{"type":"git","url":"git+https:/github.com:contagt/metismenu.git"},"contributors":[{"name":"Rein de Vries","email":"info@reinos.nl","url":"https://github.com/reinos/"},{"name":"Arthur CHAN","email":"arthur@talkgoal.com","url":"http://catchtop.com"},{"name":"Andrew Eastwood","url":"https://github.com/AndrewEastwood"},{"name":"Marcelo Tosco","email":"capy.net@gmail.com","url":"http://ecapy.com"},{"name":"Radoslav Štofko","url":"http://www.stoweb.cz"},{"name":"Umut Karcı","email":"cediddi@gmail.com","url":"https://github.com/cediddi"},{"name":"Chris Wiggins","email":"chris@wiggins.nz","url":"https://github.com/chriswiggins"},{"name":"Jacob Magnusson","email":"m@jacobian.se","url":"https://github.com/jmagnusson"},{"name":"QQ","email":"sinabs@gmail.com","url":"https://github.com/sinabs"},{"name":"roman","email":"rgnevashev@gmail.com","url":"https://github.com/rgnevashev"},{"name":"diegozhu","email":"zhuhaiyang55@gmail.com","url":"http://sae.zhuhaiyang.me"},{"name":"WoMayr","url":"https://github.com/WoMayr"},{"name":"719media","url":"https://github.com/719media"},{"name":"Boris Burkov","url":"Boris Burkov"},{"name":"Matt Dziuban","url":"http://mattdziuban.com"},{"name":"Valerio Belli","url":"https://github.com/DrugoLebowski"},{"name":"Diogo Pereira","email":"diogopereira@pereiradiogo.com","url":"http://pereiradiogo.com"},{"name":"Nicolas Igot","email":"nicolasigot@gmail.com","url":"http://www.igot-web.com"}],"author":{"name":"Osman Nuri Okumus","email":"onokumus@gmail.com","url":"https://github.com/onokumus"},"bugs":{"url":"https://github.com/onokumus/metismenu/issues"},"license":"MIT","readme":"# metismenu [![NPM version](https://img.shields.io/npm/v/metismenu.svg?style=flat)](https://www.npmjs.com/package/metismenu) [![NPM monthly downloads](https://img.shields.io/npm/dm/metismenu.svg?style=flat)](https://npmjs.org/package/metismenu) [![NPM total downloads](https://img.shields.io/npm/dt/metismenu.svg?style=flat)](https://npmjs.org/package/metismenu)\n\n[![]\n\n> A jQuery menu plugin\n\n## metismenu without jQuery\n\nIf you want to try MetisMenu without jQuery, see [MetisMenuJS](https://github.com/onokumus/metismenujs) repository.\n\n- [Getting started](#getting-started)\n  * [Install](#install)\n  * [Download](#download)\n- [Usage](#usage)\n  * [Stopping list opening on certain elements](#stopping-list-opening-on-certain-elements)\n    + [toggle](#toggle)\n    + [dispose](#dispose)\n    + [preventDefault](#preventdefault)\n    + [triggerElement](#triggerelement)\n    + [parentTrigger](#parenttrigger)\n    + [subMenu](#submenu)\n- [Events](#events)\n- [Migrating to v3 from v2](#migrating-to-v3-from-v2)\n- [Demo](#demo)\n- [About](#about)\n  * [Related projects](#related-projects)\n  * [Contributors](#contributors)\n  * [Contributing](#contributing)\n  * [Release History](#release-history)\n  * [Author](#author)\n  * [License](#license)\n\n_(TOC generated by [verb](https://github.com/verbose/verb) using [markdown-toc](https://github.com/jonschlinkert/markdown-toc))_\n\n## Getting started\n\n### Install\n\nInstall with [npm](https://www.npmjs.com/):\n\n```sh\n$ npm install --save metismenu\n```\n\nInstall with [yarn](https://yarnpkg.com):\n\n```sh\n$ yarn add metismenu\n```\n\nInstall with [composer](https://getcomposer.org/)\n\n```sh\n$ composer require onokumus/metismenu:dev-master\n```\n\n### Download\n\n[download](https://github.com/onokumus/metisMenu/archive/master.zip)\n\n## Usage\n\n1. Include metismenu StyleSheet\n\n  ```html\n  <link rel=\"stylesheet\" href=\"https://unpkg.com/metismenu/dist/metisMenu.min.css\">\n  <!-- OR -->  \n  <link rel=\"stylesheet\" href=\"https://cdn.jsdelivr.net/npm/metismenu/dist/metisMenu.min.css\">\n  ```\n\n1. Include jQuery\n\n  ```html\n  <script src=\"https://unpkg.com/jquery\"></script>\n  <!-- OR -->\n  <script src=\"https://cdn.jsdelivr.net/npm/jquery\"></script>\n  ```\n\n1. Include metisMenu plugin's code\n\n  ```html\n  <script src=\"https://unpkg.com/metismenu\"></script>\n  <!-- OR -->\n  <script src=\"https://cdn.jsdelivr.net/npm/metismenu\"></script>\n  ```\n\n1. Add id attribute to unordered list\n\n  ```html\n  <ul id=\"metismenu\">\n\n  </ul>\n  ```\n\n1. Make expand/collapse controls accessible\n\n> Be sure to add `aria-expanded` to the element `a`. This attribute explicitly defines the current state of the collapsible element to screen readers and similar assistive technologies. If the collapsible element is closed by default, it should have a value of `aria-expanded=\"false\"`. If you've set the collapsible element's parent `li` element to be open by default using the `mm-active` class, set `aria-expanded=\"true\"` on the control instead. The plugin will automatically toggle this attribute based on whether or not the collapsible element has been opened or closed.\n\n  ```html\n  <ul id=\"metismenu\">\n    <li class=\"mm-active\">\n      <a href=\"#\" aria-expanded=\"true\">Menu 1</a>\n      <ul>\n      ...\n      </ul>\n    </li>\n    <li>\n      <a href=\"#\" aria-expanded=\"false\">Menu 2</a>\n      <ul>\n      ...\n      </ul>\n    </li>\n    ...\n    </ul>\n  ```\n\n1. Arrow Options\n\n> add `has-arrow` class to `a` element\n\n  ```html\n  <ul id=\"metismenu\">\n  <li class=\"mm-active\">\n    <a class=\"has-arrow\" href=\"#\" aria-expanded=\"true\">Menu 1</a>\n    <ul>\n    ...\n    </ul>\n  </li>\n  <li>\n    <a class=\"has-arrow\" href=\"#\" aria-expanded=\"false\">Menu 2</a>\n    <ul>\n    ...\n    </ul>\n  </li>\n  ...\n  </ul>\n  ```\n\n1. Call the plugin:\n\n  ```javascript\n    $(\"#metismenu\").metisMenu();\n  ```\n\n### Stopping list opening on certain elements\n\nSetting aria-disabled=\"true\" in the `<a>` element as shown will stop metisMenu opening the menu for that particular list. This can be changed dynamically and will be obeyed correctly:\n\n```html\n<a href=\"#\" aria-expanded=\"false\" aria-disabled=\"true\">List 1</a>\n```\n\n#### toggle\n\nType: `Boolean`\nDefault: `true`\n\nFor auto collapse support.\n\n```javascript\n $(\"#metismenu\").metisMenu({\n   toggle: false\n });\n```\n\n#### dispose\n\nType: `String`\nDefault: `null`\n\nFor stop and destroy metisMenu.\n\n```javascript\n $(\"#metismenu\").metisMenu('dispose');\n```\n\n#### preventDefault\n\nType: `Boolean`\nDefault: `true`\n\n> Prevents or allows dropdowns' onclick events after expanding/collapsing.\n\n  ```javascript\n   $(\"#menu\").metisMenu({\n     preventDefault: false\n   });\n  ```\n\n_since from version 2.7.0_\n\n#### triggerElement\n\nType: `jQuery selector`\nDefault: `a`\n\n```javascript\n $(\"#metismenu\").metisMenu({\n   triggerElement: '.nav-link' // bootstrap 4\n });\n```\n\n#### parentTrigger\n\nType: `jQuery selector`\nDefault: `li`\n\n```javascript\n $(\"#metismenu\").metisMenu({\n   parentTrigger: '.nav-item' // bootstrap 4\n });\n```\n\n#### subMenu\n\nType: `jQuery selector`\nDefault: `ul`\n\n```javascript\n $(\"#metismenu\").metisMenu({\n   subMenu: '.nav.flex-column' // bootstrap 4\n });\n```\n\n## Events\n\n|**Event Type**      |**Description**|\n|--------------|--------------|\n|show.metisMenu    |This event fires immediately when the `_show` instance method is called.|\n|shown.metisMenu   |This event is fired when a collapse `ul` element has been made visible to the user (will wait for CSS transitions to complete).|\n|hide.metisMenu    |This event is fired immediately when the `_hide` method has been called. |\n|hidden.metisMenu  |This event is fired when a collapse `ul` element has been hidden from the user (will wait for CSS transitions to complete).|\n\n## Migrating to v3 from v2\n\n* Update `metisMenu.js` & `metisMenu.css` files\n* Change `active` class to `mm-active`\n\n## Demo\n\n[http://mm.onokumus.com](http://mm.onokumus.com)\n\nContains a simple HTML file to demonstrate metisMenu plugin.\n\n## About\n\n### Related projects\n\n* [metismenujs](https://www.npmjs.com/package/metismenujs): MetisMenu with Vanilla-JS | [homepage](https://github.com/onokumus/metismenujs#readme \"MetisMenu with Vanilla-JS\")\n* [onoffcanvas](https://www.npmjs.com/package/onoffcanvas): An offcanvas plugin | [homepage](https://github.com/onokumus/onoffcanvas \"An offcanvas plugin\")\n\n### Contributors\n\n| **Commits** | **Contributor** |  \n| --- | --- |  \n| 209 | [onokumus](https://github.com/onokumus) |  \n| 8   | [diegozhu](https://github.com/diegozhu) |  \n| 4   | [sinabs](https://github.com/sinabs) |  \n| 4   | [DrugoLebowski](https://github.com/DrugoLebowski) |  \n| 3   | [BurkovBA](https://github.com/BurkovBA) |  \n| 2   | [arthurtalkgoal](https://github.com/arthurtalkgoal) |  \n| 2   | [mrdziuban](https://github.com/mrdziuban) |  \n| 2   | [nicolasigot](https://github.com/nicolasigot) |  \n| 2   | [PeterDaveHello](https://github.com/PeterDaveHello) |  \n| 2   | [kalidema](https://github.com/kalidema) |  \n| 2   | [AndrewEastwood](https://github.com/AndrewEastwood) |  \n| 2   | [rgnevashev](https://github.com/rgnevashev) |  \n| 1   | [719media](https://github.com/719media) |  \n| 1   | [chriswiggins](https://github.com/chriswiggins) |  \n| 1   | [jmagnusson](https://github.com/jmagnusson) |  \n| 1   | [LukasDrgon](https://github.com/LukasDrgon) |  \n| 1   | [Cediddi](https://github.com/Cediddi) |  \n| 1   | [WoMayr](https://github.com/WoMayr) |  \n| 1   | [capynet](https://github.com/capynet) |  \n\n### Contributing\n\nPull requests and stars are always welcome. For bugs and feature requests, [please create an issue](../../issues/new).\n\nPlease read the [contributing guide](.github/contributing.md) for advice on opening issues, pull requests, and coding standards.\n\n### Release History\n\n|**DATE**      |**VERSION**   |**CHANGES**|\n|--------------|--------------|-----------|\n|2020-03-22    |v3.0.6        |fix security vulnerabilities|\n|2019-12-28    |v3.0.5        |Fix dispose to be similar to init (adding event) [#184](https://github.com/onokumus/metismenu/pull/184)|\n|2019-03-07    |v3.0.4        |fix|\n|2018-10-05    |v3.0.3        |fix|\n|2018-10-05    |v3.0.2        |fix|\n|2018-10-05    |v3.0.1        |fix|\n|2018-10-05    |v3.0.0        |more functionally|\n|2018-10-05    |v2.7.9.1      |Fix dispose option [#173](https://github.com/onokumus/metismenu/pull/173)|\n|2018-06-28    |v2.7.9        |Make jquery a peer dependency|\n|2018-06-14    |v2.7.8        |remove aria-expanded attribute & remove transitionend check|\n|2018-02-14    |v2.7.4        |jQuery -> $ in src/metisMenu.js to fix import. [#158](https://github.com/onokumus/metismenu/pull/158)|\n|2018-02-14    |v2.7.3        |window might not be defined in node.js environment [#156](https://github.com/onokumus/metismenu/pull/156)|\n|2017-12-31    |v2.7.2        |isolate against bootstrap changes, remove old legacy ie9 code [#154](https://github.com/onokumus/metismenu/pull/154)|\n|2017-10-30    |v2.7.1        |added check in complete()-callback to break when menu was disposed [#150](https://github.com/onokumus/metismenu/pull/150)|\n|2017-03-08    |v2.7.0        |fixed `has-arrow` class border color & added new 3 options|\n|2017-02-23    |v2.6.3        |fixed #129|\n|2017-02-02    |v2.6.2        |doubleTapToGo option is deprecated|\n|2016-12-06    |v2.6.1        |fix require.js|\n|2016-11-29    |v2.6.0        |dispose support|\n|2016-05-06    |v2.5.2        |fix Menu failed to remove collapsing class|\n|2016-05-06    |v2.5.1        |fixed bootstrap conflict|\n|2016-03-31    |v2.5.0        |Event support|\n|2016-03-11    |v2.4.3        |create meteor package|\n|2016-03-04    |v2.4.2        |back to version 2.4.0|\n|2016-03-03    |v2.4.1        |<del>Transition element passed to methods</del> (removed)|\n|2016-01-25    |v2.4.0        |Support AMD / Node / CommonJS|\n|2016-01-08    |v2.3.0        |Adding aria-disabled=true to the link element prevents the dropdown from opening|\n|2015-09-27    |v2.2.0        |Events supported & added preventDefault options|\n|2015-08-06    |v2.1.0        |RTL & `aria-expanded` attribute & TypeScript type definitions support|\n|2015-07-25    |v2.0.3        |When the active item has doubleTapToGo should not collapse|\n|2015-05-23    |v2.0.2        |[fixed](https://github.com/onokumus/metisMenu/issues/34#issuecomment-104656754)|\n|2015-05-22    |v2.0.1        |changeable classname support|\n|2015-04-03    |v2.0.0        |Remove Bootstrap dependency|\n|2015-03-24    |v1.1.3        |composer support|\n|2014-11-01    |v1.1.3        |Bootstrap 3.3.0|\n|2014-07-07    |v1.1.0\t      |Add double tap functionality|\n|2014-06-24    |v1.0.3\t      |cdnjs support & rename plugin|\n|2014-06-18    |v1.0.3        |Create grunt task|\n|2014-06-10    |v1.0.2        |Fixed for IE8 & IE9|\n\n### Author\n\n**Osman Nuri Okumus**\n\n* [GitHub Profile](https://github.com/onokumus)\n* [Twitter Profile](https://twitter.com/onokumus)\n* [LinkedIn Profile](https://linkedin.com/in/onokumus)\n\n### License\n\nCopyright © 2020, [Osman Nuri Okumus](https://github.com/onokumus).\nReleased under the [MIT License](LICENSE).\n\n***\n\n_This file was generated by [verb-generate-readme](https://github.com/verbose/verb-generate-readme), v0.8.0, on March 22, 2020._","readmeFilename":"README.md"}