UNPKG

basic-mouse-event-polyfill-phantomjs

Version:

This is a simple polyfill to help PhantomJS with handling Mouse Events

17 lines (8 loc) 637 B
# basic-mouse-event-polyfill-phantomjs [![Build Status](https://travis-ci.org/lechu1985/basic-mouse-event-polyfill-phantomjs.svg?branch=master)](https://travis-ci.org/lechu1985/basic-mouse-event-polyfill-phantomjs) A simple polyfill to help PhantomJS out. Function originally taken from https://github.com/ariya/phantomjs/issues/11289 @ghiscoding (which was taken from [MouseEvent-Polyfill](https://developer.mozilla.org/en-US/docs/Web/API/MouseEvent/MouseEvent#Polyfill) Install for dev via: - `npm install basic-mouse-event-polyfill-phantomjs --save-dev` - `yarn add basic-mouse-event-polyfill-phantomjs --dev`