This repository is a mirror of the component module ramitos/iseventsupported. It has been modified to work with NPM+Browserify. You can install it using the command npm install npmcomponent/ramitos-iseventsupported
. Please do not open issues or send pull requests against this repo. If you have issues with this repo, report it to npmcomponent.
A function for analyzing event support in browsers (using feature detection)
$ component install ramitos/iseventsupported
var evSupported = require('iseventsupported');
evSupported('click'); // => true/false
evSupported('canplay', document.createElement('video')); // => true/false
MIT