Skip to content

hamittokay/eazy-reader

Repository files navigation

eazy-reader

A tiny little widget that improves your online reading experience.

Feel free to add this into your blog or docs site so your users can focus on what they are reading.

Installation

<script src="eazy-reader.js"></script>
<script>
  new EazyReader();
</script>

Demo

The magic starts happening after the user clicks on the icon on the right bottom of your page.

Then the focus mode is activated.

Focus mode can be disabled by pressing the ESC key.

Options

new EazyReader({
  /*
    Controls the backdrop blur

    @type {Boolean}
    default: true
  */
  blur: true,

  /*
    Controls the intensity of backdrop blur
    
    @type {Number}
    default: 5
  */
  blurIntensity: 5,

  /*
    The height of the background filter

    @type {Number}
    default: 150
  */
  lensHeight: 150,

  /*
    The opacity of the background filter.

    @type {Number}
    default: 0.8
  */
  lensOpacity: 0.8,
});

About

A tiny little widget that improves your online reading experience.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published