reeeeeader.js
Michigan.com's speed reader web component. See a demo at speed.detroitnow.io.
Installation
npm install reeeeeader --save
Usage
Instantiate the controller and display the popup:
; { let controller = ; controller}
Asynchronous loading:
;;; { let controller = ; // displays the loading indicator controller; // load the actual data... let promise = xr; promise;}
Styles
Include styles from reeeeeader/dist/styles.css
into your app's stylesheet. In LESS:
inline '../node_modules/reeeeeader/dist/styles.css';
All CSS classes and DOM IDs are prefixed with michspeed-
to avoid conflicts.
License & Copyright
Copyright 2015, Michigan.com.
Distributed under the terms of the MIT license, see the LICENSE file for details.