Nutritious Polygonal Meatball
    Have ideas to improve npm?Join in the discussion! »

    historical-line

    1.0.3 • Public • Published

    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

    Install

    npm i historical-line

    DownloadsWeekly Downloads

    4

    Version

    1.0.3

    License

    Apache 2.0

    Unpacked Size

    13 kB

    Total Files

    8

    Last publish

    Collaborators

    • avatar