@financial-times/o-viewport
Advanced tools
Comparing version 4.0.3 to 4.0.4
@@ -28,3 +28,3 @@ { | ||
"name": "@financial-times/o-viewport", | ||
"version": "4.0.3", | ||
"version": "4.0.4", | ||
"description": "Utility for moderating listeners for browser events on window", | ||
@@ -31,0 +31,0 @@ "dependencies": { |
@@ -5,2 +5,6 @@ # o-viewport [![MIT licensed](https://img.shields.io/badge/license-MIT-blue.svg)](#licence) | ||
## Usage | ||
Check out [how to include Origami components in your project](https://origami.ft.com/docs/components/#including-origami-components-in-your-project) to get started with `o-viewport`. | ||
*Note: within the component's API and in the documentation below `orientation` and `visibility` are used instead of `orientationchange` or `visibilitychange`, but the actual browser event listened to is `orientationchange` or `visibilitychange`* | ||
@@ -7,0 +11,0 @@ |
19824
153