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.
Installation
Defined in
SkyAppWindowRef None found.
NPM package
@skyux/coreView in NPM | View in GitHub None found.
Installation
npm install --save-exact @skyux/core
None found.
Services
SkyAppWindowRef

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.

Property Description
nativeWindow?: any

The global window variable.

Optional.