DomService constructor

DomService(
  1. NgZone _ngZone,
  2. Window _window
)

Creates an instance that automatically runs outside of ngZone, and uses the browser-supplied (Window) for animation frames and resizing checks.

Implementation

DomService(this._ngZone, this._window);