Top

mixin Node-Metadata

smx.Metadata. Node-Metadata

Extends Node with metadata module methods.

Details:
See:

Methods

meta(key) → {String}

Gets the metadata value for the given key.

Parameters
  • key {String}
Returns
  • {String}

interpolate(key) → {String}

Gets the interpolated metadata value for the given key. The interpolation uses {{}} delimiters and the node as data context.

Parameters
  • key {String}
Returns
  • {String}

Performs a search in owner document using this node as context.

Parameters
Returns
Details:
See: