ember-reveal-js

0.1.1 • Public • Published

ember-reveal-js

This Ember addon provides an easy way to include reveal.js presentations in Ember apps.

Themes

Controlling Presentation Display with Query Parameters

Param Abbreviation Usage Explanation
width w w=1600 Presentation width. Use together with height to define slide aspect ratio. Useful for printing to PDF.
height h h=900 Presentation height. Use together with width to define slide aspect ratio. Useful for printing to PDF.
controls c c=false Visibility of arrow navigation controls. Defaults to visible. Specify false to hide them.
indexh h h=17 Horizontal index of current slide.
indexv v v=3 Vertical index of current slide.
print-pdf print-pdf print-pdf=true

Printing to PDF

Add print-pdf=true to the querystring to invoke the reveal.js print stylesheets. Favor Chrome. Remove margins. Choose a paper aspect ratio that matches your presentation aspect ratio.

Disclaimer

Works with simple layouts... not so much with more complicated layouts. There are issues with reveal.js itself.

Installation

  • git clone this repository
  • npm install
  • bower install

Running

Running Tests

  • npm test (Runs ember try:testall to test your addon against multiple Ember versions)
  • ember test
  • ember test --server

Building

  • ember build

For more information on using ember-cli, visit http://www.ember-cli.com/.

Package Sidebar

Install

npm i ember-reveal-js

Weekly Downloads

2

Version

0.1.1

License

MIT

Last publish

Collaborators

  • chrislopresto