MultiLangString

Models. MultiLangString

A class representing text in multiple languages.

Constructor

new MultiLangString(dataopt, optionsopt)

Create a new MultiLangString.

Properties:
Name Type Description
type String

"MultiLangString"

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

Extends

  • Map

Members

default

The default language.

Source:

Methods

toJSON() → {Object}

Create a version of the data suitable for JSON serialization

Source:
Returns:
Type:
Object