[ aria ]
[ Zdroj: jquery-goodies ]
Balík: libjs-jquery-metadata (12-4)
Odkazy pre libjs-jquery-metadata
Stiahnuť zdrojový balík jquery-goodies:
Správcovia:
Podobné balíky:
jQuery plugin for parsing metadata from elements
Sets the type of metadata to use. Metadata is encoded in JSON, and each property in the JSON will become a property of the element itself.
There are three supported types of metadata storage:
attr: Inside an attribute. The name parameter indicates *which* attribute.
class: Inside the class attribute, wrapped in curly braces: { }
elem: Inside a child element (e.g. a script tag). The name parameter indicates *which* element.
The metadata for an element is loaded the first time the element is accessed via jQuery.
As a result, you can define the metadata type, use $(expr) to load the metadata into the elements matched by expr, then redefine the metadata type and run another $(expr) for other elements.
Ostatné balíky súvisiace s balíkom libjs-jquery-metadata
|
|
|
|
-
- dep: libjs-jquery
- JavaScript library for dynamic web applications
-
- rec: javascript-common
- Base support for JavaScript library packages
Stiahnuť libjs-jquery-metadata
Architektúra | Veľkosť balíka | Nainštalovaná veľkosť | Súbory |
---|---|---|---|
all | 6.4 kB | 21.0 kB | [zoznam súborov] |