- 授权协议: MIT
- 开发语言: JavaScript
- 操作系统: 跨平台
- 软件首页: https://github.com/avxto/nuContextMenu
软件介绍
nuContextMenu 是用在 Web 应用上,对字体有完美支持的内容菜单。它只有 2.2 KB 大小,它将菜单视为主要对象,这就意味着单个菜单可以附着多个元素。
示例代码:
$(function() {
var context = $('#node').nuContextMenu({
// Omit items if you are attaching to a single container
items: '.item',
callback: function(key, element) {
alert('Clicked ' + key + ' on ' + $(element).attr('id'));
},
// Define menu items here
// key: {...}
menu: {
'archive': {
title: 'Archive',
// Font awesome icons here
icon: 'archive',
},
'mark': {
title: 'Mark as read',
icon: 'check',
},
// If the value is 'separator' then an
// <hr> node is added
'void': 'separator',
'delete': {
title: 'Delete',
icon: 'trash',
},
}
});
// Disable context menu
// context.nuContextMenu('disable');
});智能家居:商业模式+案例分析+应用实战
陈国嘉 / 人民邮电出版社 / 2016-4 / 49.80元
作为万物互联的关键一环,智能家居的出现和普及已经势不可当,以移动互联网为核心的新技术正在重构智能家居。只有成为智能家居行业的先行者,才能抢占“风口”。 《智能家居:商业模式+案例分析+应用实战》紧扣“智能家居”,从3个方面进行专业、深层次的讲解。首要方面是基础篇,从智能家居的发展现状、产业链、商业分析、抢占入口等方面进行阐述,让读者对智能家居有个初步的认识;第二个方面是技术篇,从智能家居的控......一起来看看 《智能家居:商业模式+案例分析+应用实战》 这本书的介绍吧!
