Directory

← Back

circle-percent

SVG Arc of circle depends of percent value

Author

Rating

Popularity

<100

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

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

circle-percent - Vaadin Add-on Directory

SVG Arc of circle depends of percent value circle-percent - Vaadin Add-on Directory
# circle-percent # circle-percent [![Published on webcomponents.org](https://img.shields.io/badge/webcomponents.org-published-blue.svg)](https://www.webcomponents.org/element/manufosela/circle-percent) Lit-Element web component configurable to show a circle percent and title. ## Demo [circle-percent codepen demo](https://codepen.io/manufosela/pen/qwKqjg?editors=1010#0) ```

Basic circle-percent demo default

Circle-percent demo 2

Circle-percent demo 3

``` ```html

Basic circle-percent demo default

Circle-percent demo 2

Circle-percent demo 3

``` ## CSS Variables --inf-font-size --inf-font-family ## Install the Polymer-CLI First, make sure you have the [Polymer CLI](https://www.npmjs.com/package/polymer-cli) and npm (packaged with [Node.js](https://nodejs.org)) 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](https://github.com/Polymer/web-component-tester). Run `polymer test` to run your application's test suite locally. ## Author * **Mánu Fosela** - *Javascript Composer* - [manufosela](https://github.com/manufosela) ## License This project is licensed under Apaceh 2.0 License - see the [LICENSE](LICENSE) file for details
Online