# dispatch-event-by-name

> compatible tool for dispatchEvent()

Latest version **1.0.4** (published 2022-03-23) · ISC license · 0 weekly downloads

## Install

```sh
npm install dispatch-event-by-name
pnpm add dispatch-event-by-name
yarn add dispatch-event-by-name
bun add dispatch-event-by-name
```

## Health

**Score 15/100 (F)** — status: abandoned.

Positive: no vulnerabilities.

Warnings: low downloads; no types; no esm support.

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 1.0.4 |
| Published | 2022-03-23 |
| First published | 2022-02-22 |
| Weekly downloads | 0 |
| License | ISC |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 0 |
| Unpacked size | 4.1 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 0 |
| Author | fwg |
| Maintainers | adf0001 |
| Keywords | dispatchEvent |

## Links

- npm: https://www.npmjs.com/package/dispatch-event-by-name
- Repository: https://github.com/adf0001/dispatch-event-by-name
- Homepage: https://github.com/adf0001/dispatch-event-by-name#readme
- Issues: https://github.com/adf0001/dispatch-event-by-name/issues
- npm.io page: https://npm.io/package/dispatch-event-by-name

## Alternatives

- [async-exit-hook](https://npm.io/package/async-exit-hook.md) — 3.7M weekly downloads
- [evnty](https://npm.io/package/evnty.md) — 7.2K weekly downloads
- [eleventy-plugin-asciidoc](https://npm.io/package/eleventy-plugin-asciidoc.md) — 3.5K weekly downloads
- [@jswork/next-get2get](https://npm.io/package/@jswork/next-get2get.md) — 945 weekly downloads
- [@dashersw/axon](https://npm.io/package/@dashersw/axon.md) — 934 weekly downloads

## Recent versions

- 1.0.4 (latest) — 2022-03-23
- 1.0.3 — 2022-03-21
- 1.0.2 — 2022-03-20
- 1.0.1 — 2022-02-22
- 1.0.0 — 2022-02-22

## README

# dispatch-event-by-name
compatible tool for dispatchEvent()

# Install
```
npm install dispatch-event-by-name
```

# Usage & Api
```javascript
var dispatch_event_by_name = require("dispatch-event-by-name");

_ele('divResult3').innerHTML = '<span myattr=11>aaa</span>';

_ele('divResult3').firstChild.onclick = function () { done(false); };

//dispatchEventByName(el, eventName [, options] )
//options:{ bubbles, cancelable, composed, delay } | bubbles | delay
dispatch_event_by_name(_ele('divResult3').firstChild, "click", 500);	//number for delay

```

---
_Source: https://npm.io/package/dispatch-event-by-name · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
