event-attributes
Map of HTML and SVG event attributes.
Last updated 6 years ago by stevenvachon .
MIT · Repository · Bugs · Original npm · Tarball · package.json
$ cnpm install event-attributes 
SYNC missed versions from official npm registry.

event-attributes NPM Version Bower Version Build Status

Map of HTML and SVG event attributes.

Installation

Type this at the command line:

npm install event-attributes --save-dev

Usage

Server/Browserify

var eventAttributes = require("event-attributes");

if (eventAttributes.html["onclick"] === true) {
	// is an html event attribute
}

if (eventAttributes.svg["onrepeat"] === true) {
	// is an svg event attribute
}

UMD/AMD/etc

Accessible via define() or window.eventAttributes.

Current Tags

  • 1.0.1                                ...           latest (6 years ago)

2 Versions

  • 1.0.1                                ...           6 years ago
  • 1.0.0                                ...           6 years ago
Maintainers (1)
Downloads
Today 0
This Week 0
This Month 0
Last Day 0
Last Week 0
Last Month 0
Dependencies (0)
None
Dev Dependencies (2)
Dependents (0)
None

Copyright 2014 - 2017 © taobao.org |