Skip to content

Commit 845496d

Browse files
Add more info to readme
1 parent 452270e commit 845496d

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

README.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -44,6 +44,7 @@ Bind new listener to all elements.
4444
- *event* - javascript event to catch (click, keyup and etc)
4545
- *selector* - valid document query selector
4646
- *callback* - function to callback. Arguments: event, element
47+
You can return false from callback to preventDefault and stop next handler searching.
4748
- *use_capture* - use capture or not, default false
4849

4950
### off(event, selector)

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
"name": "domd",
33
"description": "Small dependency free DOM delegator",
44
"keywords": ["DOM", "delegate", "event", "handle", "domd"],
5-
"version": "0.7.0",
5+
"version": "0.7.1",
66
"main": "index.js",
77
"scripts": {
88
"test": "echo \"Error: no test specified\" && exit 1"

0 commit comments

Comments
 (0)