DomService constructor
DomService(
- NgZone _ngZone,
- 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);