A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://www.npmjs.com/package/html-event-attributes below:

html-event-attributes - npm

List of HTML event handler attributes.

This is a list of all HTML event handlers (onclick, etc). It includes events from HTML 4 and HTML (the living standard).

You can use this package if you want to figure out whether an HTML attribute is a known event handler.

<script type="module">
  import {htmlEventAttributes} from 'https://esm.sh/html-event-attributes@2?bundle'
</script>
[
  'onabort',
  'onafterprint',
  'onauxclick',
  'onbeforeprint',
  'onbeforeunload',
  'onblur',
  'oncancel',
  'oncanplay',
  'oncanplaythrough',
  'onchange'
]

This package exports the identifier htmlEventAttributes. There is no default export.

List of HTML event handler attributes (Array<string>).

This package is at least compatible with all maintained versions of Node.js. As of now, that is Node.js 14.14+ and 16.0+. It also works in Deno and modern browsers.

This package is safe.


RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4