🚨 Shai-Hulud Strikes Again:834 Packages Compromised.Technical Analysis →
Socket
Book a DemoInstallSign in
Socket

iee

Package Overview
Dependencies
Maintainers
1
Versions
5
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

iee

IE event shims.

latest
Source
npmnpm
Version
0.1.4
Version published
Maintainers
1
Created
Source

npm downloads PRs Welcome MIT License

IE event shims.

var IEE = require('iee')

function onClick (e) {
  e.preventDefault() // not work on IE

  var ev = new IEE(e)
  ev.preventDefault() // work on IE and modern browsers
}

Install

$ npm install --save iee

# Or use yarn
$ yarn add --dev iee

Usage

import IEE from 'iee'

const handler = (e) => {
  const ev = new IEE(e)

  console.log(ev.target)
  console.log(ev.preventDefault)
  console.log(ev.stopPropagation)
}

FAQs

Package last updated on 24 Feb 2018

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts