custom-event

WebJar for custom-event

License

License

MIT
GroupId

GroupId

org.webjars.npm
ArtifactId

ArtifactId

custom-event
Last Version

Last Version

1.0.1
Release Date

Release Date

Type

Type

jar
Description

Description

custom-event
WebJar for custom-event
Project URL

Project URL

http://webjars.org
Source Code Management

Source Code Management

https://github.com/webmodules/custom-event

Download custom-event

How to add to project

<!-- https://jarcasting.com/artifacts/org.webjars.npm/custom-event/ -->
<dependency>
    <groupId>org.webjars.npm</groupId>
    <artifactId>custom-event</artifactId>
    <version>1.0.1</version>
</dependency>
// https://jarcasting.com/artifacts/org.webjars.npm/custom-event/
implementation 'org.webjars.npm:custom-event:1.0.1'
// https://jarcasting.com/artifacts/org.webjars.npm/custom-event/
implementation ("org.webjars.npm:custom-event:1.0.1")
'org.webjars.npm:custom-event:jar:1.0.1'
<dependency org="org.webjars.npm" name="custom-event" rev="1.0.1">
  <artifact name="custom-event" type="jar" />
</dependency>
@Grapes(
@Grab(group='org.webjars.npm', module='custom-event', version='1.0.1')
)
libraryDependencies += "org.webjars.npm" % "custom-event" % "1.0.1"
[org.webjars.npm/custom-event "1.0.1"]

Dependencies

There are no dependencies for this project. It is a standalone project that does not depend on any other jars.

Project Modules

There are no modules declared in this project.

custom-event

Cross-browser CustomEvent constructor

Sauce Test Status

Build Status

https://developer.mozilla.org/en-US/docs/Web/API/CustomEvent.CustomEvent

Installation

$ npm install custom-event

Example

var CustomEvent = require('custom-event');

// add an appropriate event listener
target.addEventListener('cat', function(e) { process(e.detail) });

// create and dispatch the event
var event = new CustomEvent('cat', {
  detail: {
    hazcheeseburger: true
  }
});
target.dispatchEvent(event);
org.webjars.npm

webmodules

ES6 modules for web usage – on NPM

Versions

Version
1.0.1
1.0.0