Metaparse Configuration
Categories: Properties of jQueryConfig
jQueryConfig.metaparse[ options ]
Plugin: jQuery.metaparse
Description: Default values for future metaparse calls.
-
jQueryConfig.metaparse[ options ]
version added: 1.0
For details on the options available for .metaparse()
, see .metaparse()
.
All subsequent metaparse calls using any function will use the configured options, unless overridden by the individual calls.
-
type
version added: 1.0
An extraction type 'class', 'elem', 'attr', 'data' or 'html5'.
Default: 'class'
-
name
version added: 1.0
The name of the attribute, html5 data-* attribute or element to extract the code.
Default: 'metaparse'
-
autoparse
version added: 1.2
A boolean indication whether to run metaparse automatically with the '.metaparse' selector (Will trigger the 'metaparse' event also on the document).
Default: false
-
autoparse
version added: 1.2
A selector to run metaparse automatically of each element in the set of matched elements (Will trigger the 'metaparse' event also on the document).
-
autoparse
version added: 1.2
A map set up the 'selector' and optional the 'ready' dependencies to run metaparse automatically. Example: {selector:'.metaparse',ready:'jQuery.fn.size'}. (Will trigger the 'metaparse' event also on the document)