A localized set of string resources.

Hierarchy (view full)

Implements

Constructors

Properties

_id: string

The unique ID for this entity. Once set, this should never change.

Accessors

  • get id(): string
  • The unique ID for this entity.

    Returns string

  • get itemType(): string
  • The item type for this entity when it participates in an App.

    Returns string

  • get locale(): string
  • The locale of the strings.

    Returns string

  • get values(): ObservableMap<string, string>
  • The set of localized strings, indexed by unique key.

    Returns ObservableMap<string, string>

Methods

  • Sets the properties for this item.

    This version will also await any asynchronous logic that is needed to set the properties.

    Parameters

    Returns Promise<void>

  • Waits for all deserialization logic initiated thus far to finish, whether invoked by passing properties into the constructor, or by invoking assignProperties() or assignPropertiesAsync().

    Returns Promise<void>

  • Creates an item:// URI reference to this entity.

    Returns string