Allows looking up properties defined in the platform host.

Hierarchy

  • PlatformPropertyService

Implements

  • Initializer

Constructors

Methods

Constructors

Methods

  • Indicates whether a property with the specified key exists or not.

    Parameters

    • key: string

    Returns boolean

  • Returns the property of the given key, or defaultValue if the property does not exist.

    Throws an error if defaultValue is not specified and the property does not exist.

    Type Parameters

    • T

    Parameters

    • key: string
    • Optional defaultValue: T

    Returns T

Generated using TypeDoc