Skip to content

entrylabs/entry-event

Repository files navigation

entry-event npm version Build Status

Entry에서 이벤트관리를 보다 쉽게 사용하기 위해 만든 패키지

설치

$ yarn add @entrylabs/event

사용법

import Event from '@entrylabs/event';

const target = new Event(document);
target.on('click', e => {console.log(e.type)});
target.trigger('click');
target.off('click');

라이센스

MIT © [email protected]

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published