1.0.3 • Published 4 years ago
historical-line v1.0.3
historical-line
Lit-Element web component to show a historical line of events
Demo
Codepen historical-line (https://codepen.io/manufosela/pen/bGbqWPb)
<h2>Basic historical-line Demo</h2>
<h3>Demo</h3>
<historical-line ></historical-line>
## Attributes
* title (String)
* startYear (Number)
* endYear (Number)
* data (Array)
## CSS Variables
* --font-size
* --title-color
<historical-line></historical-line>
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 user
License
This project is licensed under the Apache 2.0 License - see the LICENSE file for details
Generated
generator-lit-element-base - yeoman npm package - by @manufosela