Transcription

Models. Transcription

A class representing a Transcription, in one or more orthographies.

Constructor

new Transcription(dataopt, optionsopt)

Create a new Transcription.

Source:
Parameters:
Name Type Attributes Default Description
data Object <optional>
{}
options Object <optional>
{}
Name Type Attributes Description
defaultOrthography String <optional>

Members

default

Get the transcription in the default orthography, or the first orthography in the object.

Source:

default

Set the value of the default orthography.

Source:

Methods

toJSON() → {Object}

Create a version of the data suitable for JSON serialization.

Source:
Returns:
Type:
Object