@odopod/odo-device
TypeScript icon, indicating that this package has built-in type declarations

1.3.0 • Public • Published

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.

Readme

Keywords

Package Sidebar

Install

npm i @odopod/odo-device

Weekly Downloads

4

Version

1.3.0

License

MIT

Unpacked Size

50.5 kB

Total Files

18

Last publish

Collaborators

  • nathanbuchar
  • odopod-admin
  • vestride