Learn about visual thememore

Window

The application window reference service references the global window variable. After users inject SkyAppWindowRef into a component, they can use the service to interact with window properties and event handlers by referencing its nativeWindow property. For more information, see the window API documentation on MDN web docs.

Link for section titled Installation
Installation

NPM package
@skyux/coreView in NPM | View in GitHub None found.
Install with NPM
npm install --save-exact @skyux/core None found.

Link for section titled SkyAppWindowRef
SkyAppWindowRef

Type: Service

The application window reference service references the global window variable. After users inject SkyAppWindowRef into a component, they can use the service to interact with window properties and event handlers by referencing its nativeWindow property.

Properties

nativeWindow: any

The global window variable.