Nonchalant Programming Master
Miss any of our Open RFC calls?Watch the recordings here! »

html-event-attributes

1.1.0 • Public • Published

html-event-attributes

Build Downloads Size

List of HTML event handler content attributes.

Includes events from HTML 4 and HTML (the living standard).

Install

npm:

npm install html-event-attributes

Use

var htmlEventAttributes = require('html-event-attributes')
 
console.log(htmlEventAttributes.slice(0, 10))

Yields:

[
  'onabort',
  'onafterprint',
  'onauxclick',
  'onbeforeprint',
  'onbeforeunload',
  'onblur',
  'oncancel',
  'oncanplay',
  'oncanplaythrough',
  'onchange'
]

API

htmlEventAttributes

Array.<string> — List of HTML event handler content attributes.

License

MIT © Titus Wormer

Install

npm i html-event-attributes

DownloadsWeekly Downloads

16

Version

1.1.0

License

MIT

Unpacked Size

5.92 kB

Total Files

4

Last publish

Collaborators

  • avatar