Skip to content

This is a polymer element to indicate the amount of article still left for reading an a page.

Notifications You must be signed in to change notification settings

qed42/polymer-meter

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

<polymer-meter>

This is a polymer element to indicate the amount of article still left for reading.

Using polymer-meter Element in your Project

Install this using bower

$ bower install polymer-meter --save-dev

Add the element element using html imports

<link rel="import" href="../polymer-meter.html">

Example:

<polymer-meter></polymer-meter>

Place this element at the top your page, it will watch the length of the page and at the top it will display a indicator show how much of the page you have already covered.

You may not insert any custom DOM inside of this indicator element.

Styling

You can control the color of the indicator using css property '--progress-meter-color'

Example:

polymer-meter{
  --progress-meter-color: red;
}
Custom property Description Default
--progress-meter-color Background color of the progress indicator green

About

This is a polymer element to indicate the amount of article still left for reading an a page.

Resources

Stars

Watchers

Forks

Packages

No packages published