@segment/is-meta
1.0.0 • Public • Published
is-meta
Checks whether a DOM click
event should open a link in a new tab.
Installation
$ npm install @segment/is-meta
Example
var isMeta = require('is-meta');
a.onclick = function (event) {
isMeta(event); // true or false
};
Versions
Current Tags
- VersionDownloads (Last 7 Days)
- 1.0.0
52,006
Version History
- VersionDownloads (Last 7 Days)
- 1.0.0
52,006
Package Sidebar
Install
Weekly Downloads
License
SEE LICENSE IN LICENSE