https://github.com/zomars/bespoke-click
Click events for Bespoke.js
https://github.com/zomars/bespoke-click
Last synced: about 1 year ago
JSON representation
Click events for Bespoke.js
- Host: GitHub
- URL: https://github.com/zomars/bespoke-click
- Owner: zomars
- License: mit
- Created: 2014-08-05T17:31:19.000Z (almost 12 years ago)
- Default Branch: master
- Last Pushed: 2020-10-11T20:12:57.000Z (over 5 years ago)
- Last Synced: 2025-03-22T23:32:06.224Z (about 1 year ago)
- Language: JavaScript
- Size: 8.79 KB
- Stars: 0
- Watchers: 0
- Forks: 0
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- Contributing: CONTRIBUTING.md
- License: LICENSE
Awesome Lists containing this project
README
[](https://travis-ci.org/zomars/bespoke-click) [](https://coveralls.io/r/zomars/bespoke-click)
# bespoke-click
Click event for [Bespoke.js](http://markdalgleish.com/projects/bespoke.js)
## Download
Download the [production version][min] or the [development version][max], or use a [package manager](#package-managers).
[min]: https://raw.github.com/zomars/bespoke-click/master/dist/bespoke-click.min.js
[max]: https://raw.github.com/zomars/bespoke-click/master/dist/bespoke-click.js
## Usage
This plugin is shipped in a [UMD format](https://github.com/umdjs/umd), meaning that it is available as a CommonJS/AMD module or browser global.
For example, when using CommonJS modules:
```js
var bespoke = require('bespoke'),
click = require('bespoke-click');
bespoke.from('#presentation', [
click()
]);
```
When using browser globals:
```js
bespoke.from('#presentation', [
bespoke.plugins.click()
]);
```
## Package managers
### npm
```bash
$ npm install bespoke-click
```
### Bower
```bash
$ bower install bespoke-click
```
## Credits
This plugin was built with [generator-bespokeplugin](https://github.com/markdalgleish/generator-bespokeplugin).
## License
[MIT License](http://en.wikipedia.org/wiki/MIT_License)