mixin Node-Metadata
smx.Metadata. Node-Metadata
source: modules/metadata/NodeInterface.js, line 1
Extends Node
with metadata module methods.
Details:
- See:
Methods
meta(key) → {String}
source: modules/metadata/NodeInterface.js, line 9
Gets the metadata value for the given key.
Parameters
-
key
{String}
Returns
-
{String}
interpolate(key) → {String}
source: modules/metadata/NodeInterface.js, line 24
Gets the interpolated metadata value for the given key. The interpolation uses {{}} delimiters and the node as data context.
Parameters
-
key
{String}
Returns
-
{String}
search(query, [options]) → {Array.<Metadata.searchResult>}
source: modules/metadata/NodeInterface.js, line 41
Performs a search in owner document using this node as context.
Parameters
-
query
{String}
-
[options]
{Metadata.searchOptions}
Returns
-
{Array.<Metadata.searchResult>}