Directory

← Back

circle-percent

SVG Arc of circle depends of percent value

Author

Contributors

Rating

circle-percent

circle-percent Published on webcomponents.org

Lit-Element web component configurable to show a circle percent and title.

Demo

circle-percent codepen demo

<h3>Basic circle-percent demo default</h3>
<circle-percent></circle-percent>

<h3>Circle-percent demo 2</h3>
<circle-percent percent="70" radio="200" title="circle percent 70% radio=200px"></circle-percent>

<h3>Circle-percent demo 3</h3>
<circle-percent percent="60" swidth="10" scolor="#F93" title="circle percent 60% radio=200px color=#F93"></circle-percent>
<h3>Basic circle-percent demo default</h3>
<circle-percent></circle-percent>

<h3>Circle-percent demo 2</h3>
<circle-percent percent="70" radio="200" title="circle percent 70% radio=200px"></circle-percent>

<h3>Circle-percent demo 3</h3>
<circle-percent percent="60" swidth="10" scolor="#F93" title="circle percent 60% radio=200px color=#F93"></circle-percent>

CSS Variables

--inf-font-size --inf-font-family

Install the Polymer-CLI

First, make sure you have the Polymer CLI and npm (packaged with Node.js) installed. Run npm install to install your element's dependencies, then run polymer serve to serve your element locally.

Viewing Your Element

$ polymer serve

Running Tests

$ polymer test

Build

$ npm run build

Your application is already set up to be tested via web-component-tester. Run polymer test to run your application's test suite locally.

Author

License

This project is licensed under Apaceh 2.0 License - see the LICENSE file for details

Links

Compatibility

(Loading compatibility data...)

Was this helpful? Need more help?
Leave a comment or a question below. You can also join the chat on Discord or ask questions on StackOverflow.

Version

Dependencies

  • lit-element#^2.1.0
Released
2019-04-20
Maturity
IMPORTED
License
MIT License

Compatibility

Framework
Polymer 3.0+ in 2.0.2
Browser
Browser Independent
Online