Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/aaronpowell/bespoke-hide
Hide/show slides within a presentation
https://github.com/aaronpowell/bespoke-hide
Last synced: about 1 month ago
JSON representation
Hide/show slides within a presentation
- Host: GitHub
- URL: https://github.com/aaronpowell/bespoke-hide
- Owner: aaronpowell
- License: mit
- Created: 2014-07-14T12:35:16.000Z (over 10 years ago)
- Default Branch: master
- Last Pushed: 2014-07-15T11:48:29.000Z (over 10 years ago)
- Last Synced: 2024-11-17T19:44:47.148Z (about 2 months ago)
- Language: JavaScript
- Size: 125 KB
- Stars: 1
- Watchers: 3
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Contributing: CONTRIBUTING.md
- License: LICENSE
Awesome Lists containing this project
README
[![Build Status](https://secure.travis-ci.org/aaronpowell/bespoke-hide.png?branch=master)](https://travis-ci.org/aaronpowell/bespoke-hide) [![Coverage Status](https://coveralls.io/repos/aaronpowell/bespoke-hide/badge.png)](https://coveralls.io/r/aaronpowell/bespoke-hide)
# bespoke-hide
Hide/Show slides from the presentation. Stores your settings in localStorage so it's persisted across reloads.
Use `h` to hide the current slide and `u` to show a list of all slides that are hidden (then click the one(s) you want to show).
## Download
Download the [production version][min] or the [development version][max], or use a [package manager](#package-managers).
[min]: https://raw.github.com/aaronpowell/bespoke-hide/master/dist/bespoke-hide.min.js
[max]: https://raw.github.com/aaronpowell/bespoke-hide/master/dist/bespoke-hide.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'),
hide = require('bespoke-hide');bespoke.from('#presentation', [
hide()
]);
```When using browser globals:
```js
bespoke.from('#presentation', [
bespoke.plugins.hide()
]);
```## Package managers
### npm
```bash
$ npm install bespoke-hide
```### Bower
```bash
$ bower install bespoke-hide
```## Credits
This plugin was built with [generator-bespokeplugin](https://github.com/markdalgleish/generator-bespokeplugin).
## License
[MIT License](http://en.wikipedia.org/wiki/MIT_License)