diff --git a/README.md b/README.md index 9b1705f..a5ede78 100644 --- a/README.md +++ b/README.md @@ -44,6 +44,7 @@ Bind new listener to all elements. - *event* - javascript event to catch (click, keyup and etc) - *selector* - valid document query selector - *callback* - function to callback. Arguments: event, element + You can return false from callback to preventDefault and stop next handler searching. - *use_capture* - use capture or not, default false ### off(event, selector) diff --git a/package.json b/package.json index 0216d34..5de3bc1 100644 --- a/package.json +++ b/package.json @@ -2,7 +2,7 @@ "name": "domd", "description": "Small dependency free DOM delegator", "keywords": ["DOM", "delegate", "event", "handle", "domd"], - "version": "0.7.0", + "version": "0.7.1", "main": "index.js", "scripts": { "test": "echo \"Error: no test specified\" && exit 1"