Skip to content

Commit 3345b33

Browse files
committed
update README
1 parent 5f41755 commit 3345b33

File tree

1 file changed

+6
-4
lines changed

1 file changed

+6
-4
lines changed

README.md

+6-4
Original file line numberDiff line numberDiff line change
@@ -20,14 +20,16 @@ A gwtQuery plugin for adding gesture events.
2020
// Observe attribute changes in all elements matching the selector
2121
$(selector)
2222
.as(Gesture.Gesture)
23-
.on("", new Function() {
24-
public boolean f(List<MutationRecord> mutations) {
25-
console.log(mutations.get(0).type());
23+
.on("tap", new Function() {
24+
public boolean f(Event ev) {
25+
Options o = arguments(0);
26+
console.log(o.description());
27+
return true;
2628
}
2729
});
2830
2931
```
30-
3. gQuery Gesture plugin is a port of the jGesture plugin at https://jgestures.codeplex.com/
32+
3. gQuery Gesture plugin is a gwt port of the jGesture plugin at https://jgestures.codeplex.com/
3133

3234

3335
## Mobile compatibility

0 commit comments

Comments
 (0)