@odopod/odo-device

Device-specific settings for JS and CSS

Stats

stars 🌟issues ⚠️updated 🛠created 🐣size 🏋️‍♀️
291Nov 7, 2018Jul 21, 2017Minified + gzip package size for @odopod/odo-device in KB

Readme

Odo Device

Device-specific settings and helpers.

Install

npm install @odopod/odo-device --save

Quick Start

import or require the package, then use its properties and methods.

import OdoDevice from '@odopod/odo-device';

console.log('Has touch events:', OdoDevice.HAS_TOUCH_EVENTS);
console.log('Touch action:', OdoDevice.prefixed('touchAction', 'pan-y'));
console.log('Has local storage:', OdoDevice.HAS_LOCAL_STORAGE);

Documentation

Visit the Odo component directory for demos, code examples, and documentation.

If you find any bugs or have a feature request, please open an issue on github!

The npm package download data comes from npm's download counts api and package details come from npms.io.