bean icon indicating copy to clipboard operation
bean copied to clipboard

an events api for javascript

Results 37 bean issues
Sort by recently updated
recently updated
newest added

Given the following: ```js function callback(e) { console.log('callback', e); } document.querySelectorAll('input').forEach(function bindListener(el) { bean.on(el, 'propertychange', callback); }); ``` ...It seems that the `callback` is never invoked. As I dug through...

There is a typo in `README.md`: > args (optional) - additional arguments to *pas* to the callback function when triggered

Hi, I'm currently using: ``` javascript bean.on(element, 'click', '[my-selector]', myHandler) ``` But I cannot use: ``` javascript bean.off(element, 'click', '[my-selector]', myHandler) ``` Since according to the [documentation](https://www.npmjs.com/package/bean#off) `bean.off` only accepts...

Chrome says this : 'KeyboardEvent.keyIdentifier' is deprecated and will be removed in M53, around September 2016. See https://www.chromestatus.com/features/5316065118650368 for more details. it is in Event function. September is coming.

And there is no way to tell them to. Or am I wrong? I have: ``` html ... ... ``` Input fires custom event on itself. Form doesn't catch it.

HI! We are using flotr2 to draw the charts in our dashboards. And flotr2 uses bean for events management. Since Chrome/Chromium v42 the events are not fired when we are...

I saw the same bug reported here: #32 but the fix only solves custom events. I'm trying to do something like this: ``` javascript bean.on(window, 'resize', function () { /*...

Mainly for things like `focus` delegation. See http://www.quirksmode.org/blog/archives/2008/04/delegating_the.html. If you agree, I can provide a patch.