Options
All
  • Public
  • Public/Protected
  • All
Menu

Allows looking up properties defined in the platform host.

Hierarchy

  • PlatformPropertyService

Implements

  • Initializer

Index

Constructors

Methods

  • contains(key: string): boolean
  • get<T>(key: string, defaultValue?: T): T
  • 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

  • init(): Promise<void>
  • properties(): ReadonlyMap<string, any>

Generated using TypeDoc