Global

Methods

tag(params)

Initialises a TAG visualisation on the given element.

Parameters:
Name Type Description
params Object

Initialisation parameters.

Properties
Name Type Attributes Description
container String | Element | jQuery

Either a string containing the ID of the container element, or the element itself (as a native/jQuery object).

data Object <optional>

Initial data to load, if any.

format String <optional>

One of the supported format identifiers for the data.

options Object <optional>

Overrides for various default library options.

Source:

registerParser(parser, format)

Registers the parser for a new annotation format.

Parameters:
Name Type Description
parser Object

Parser object.

format String

Identifier for the annotation format associated with this parser.

Source: