Properties

enabled: boolean

Gets or sets whether the magnification is enabled.

factor: number

Gets or sets the magnification factor.

Methods

  • Registers a callback which will be called when the magnification enabled state changes.

    Returns

    An event subscription which can be used to unsubscribe from the event.

    Parameters

    • callback: ((enabled: boolean) => void)

      The callback which will be called with the new enabled state.

        • (enabled: boolean): void
        • Parameters

          • enabled: boolean

          Returns void

    Returns EventSubscription

  • Registers a callback which will be called when the magnification factor changes.

    Returns

    An event subscription which can be used to unsubscribe from the event.

    Parameters

    • callback: ((factor: number) => void)

      The callback which will be called with the new factor.

        • (factor: number): void
        • Parameters

          • factor: number

          Returns void

    Returns EventSubscription

Generated using TypeDoc