Metadata
- 授权协议: 未知
- 开发语言:
- 操作系统: 未知
- 软件首页: http://plugins.jquery.com/project/metadata
软件介绍
This plugin is capable of extracting metadata from classes, random attributes, and child elements.
For example, you can do:
<li class="someclass {some: 'data'} anotherclass">...</li>
OR
<li data="{some:'random', json: 'data'}">...</li>
OR
<li><script type="data">{some:"json",data:true}</script> ...</li>The default is the first method, but you can always change it by twiddling the options. This means that there is at least one option here that can appease you.
After that you can simply do:
var data = $('li.someclass').metadata();
if ( data.some && data.some == 'data' )
alert('It Worked!');There's also a bunch of options (like the ability to ignore braces {}).
For full documentation see http://docs.jquery.com/Plugins/Metadata.
跨平台桌面应用开发:基于Electron与NW.js
【丹】Paul B. Jensen / Goddy Zhao / 2018-3 / 99
《跨平台桌面应用开发:基于Electron与NW.js》是一本同时介绍 Electron和 NW.js的图书,这两者是目前流行的支持使用 HTML、CSS 和 JavaScript 进行桌面应用开发的框架。书中包含大量的编码示例,而且每个示例都是五脏俱全的实用应用,作者对示例中的关键代码都做了非常详细的解释和说明,可让读者通过实际的编码体会使用这两款框架开发桌面应用的切实感受。除此之外,在内容上,......一起来看看 《跨平台桌面应用开发:基于Electron与NW.js》 这本书的介绍吧!
