Options
All
  • Public
  • Public/Protected
  • All
Menu

Class WindowRef

Window Reference service to assist with abstracting the availability of window. Needed for AOT and Server Side rendering

class

WindowRef

export
service
injectable

Hierarchy

  • WindowRef

Index

Accessors

Methods

Accessors

IsAvailable

  • get IsAvailable(): boolean
  • Determines if a local implementation of window is available.

    type

    {boolean} - Returns true if a local implementation of window is available.

    memberof

    WindowRef

    readonly
    property

    Returns boolean

Methods

GetNativeWindow

  • GetNativeWindow(): any
  • Gets the local implementation of window.

    memberof

    WindowRef

    method

    Returns any

    • The local implementation of the window.

Generated using TypeDoc