Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/component/touchaction-property

Returns "touchAction", "msTouchAction", or null
https://github.com/component/touchaction-property

Last synced: 13 days ago
JSON representation

Returns "touchAction", "msTouchAction", or null

Awesome Lists containing this project

README

        

# touchaction-property

Returns "touchAction", "msTouchAction", or null.
See: http://msdn.microsoft.com/en-us/library/windows/apps/hh767313.aspx

## Installation

Install with [component(1)](http://component.io):

$ component install component/touchaction-property

## API

``` js
var touchAction = require('touchaction-property');

if (touchAction) {
document.body.style[touchAction] = 'none';
}
```

## License

MIT