Skip to content
This repository has been archived by the owner on Dec 16, 2021. It is now read-only.

Commit

Permalink
Expose nativeEvent (#291)
Browse files Browse the repository at this point in the history
  • Loading branch information
ReDrUm authored and developit committed Jan 28, 2017
1 parent d824967 commit a01c0f1
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -59,6 +59,7 @@ let oldEventHook = options.event;
options.event = e => {
e.persist = Object;
if (oldEventHook) e = oldEventHook(e);
e.nativeEvent = e;
return e;
};

Expand Down

0 comments on commit a01c0f1

Please sign in to comment.