Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
alexblack committed Mar 15, 2012
1 parent 0426864 commit 7fbfb53
Showing 1 changed file with 9 additions and 3 deletions.
12 changes: 9 additions & 3 deletions README.md
Expand Up @@ -7,10 +7,16 @@ An implementation of [Google's FastButton javascript](http://code.google.com/mob
- google.fastbutton.js The javascript, no dependencies
- xui.google.fastbutton.js Provides a nice event handler using [XUI](http://xuijs.com/)

## Usage
``` js
new FastButton(el, function() {
alert('click');
});
````
## XUI Usage

``` js
x$('#your-button').fastClick(function(e) {
alert('fast clicked!');
});
x$('#your-button').fastClick(function(e) {
alert('fast clicked!');
});
```

0 comments on commit 7fbfb53

Please sign in to comment.