你的位置:首页 > 软件开发 > Java > Context.js 右键菜单

Context.js 右键菜单

发布时间:2016-09-21 09:00:06
ContextJS is a lightweight solution for contextual menus. Currently, there are two versions.The first is to be used with Twitters Bootst ...

ContextJS is a lightweight solution for contextual menus. Currently, there are two versions.

The first is to be used with Twitters Bootstrap   (bootstrap.css specifically). If you do not use or want to use bootstrap.css, there is a standalone stylesheet to give the menu it's base styles.

Features

  • Linted: Valid JS
  • Can be used with or without Twitters Bootstrap.css
  • Event Based Links
  • Anchor Links
  • Headers
  • Dividers
  • Recursive Menus (infinite depth)
  • Vertical Space Detection (turns into a "dropup")
  • Horizontal Space Detection (Drops to the left instead of right)
  • Add/Delete menus Dynamically

在线实例

实例演示使用方法

  1. context.init({
  2.     fadeSpeed: 100,
  3.     filter: function ($obj){},
  4.     above: 'auto',
  5.     preventDoubleContext: true,
  6.     compress: false
  7. });
复制

原标题:Context.js 右键菜单

关键词:JS

JS
*特别声明:以上内容来自于网络收集,著作权属原作者所有,如有侵权,请联系我们: admin#shaoqun.com (#换成@)。