aacl-timeline
TypeScript icon, indicating that this package has built-in type declarations

15.0.0-beta.1 • Public • Published

Aacl timeline

Installation

Design/Spec

Notes:


Features:

  • shows vertical timeline for given simple data array
  • shows vertical timeline with complex data array and shows in 'ng-template' with customized style.
  • aacl-timeline example

Passing Data:

  • passes an array in 'options'.
  • For the color of the node on the timeline, The item.type accepts 3 values: 'success','info' or 'error'.
  • It shows green, blue or red. please check CIRCLE_TYPE for details.

How to Use

  1. import AaclTimelineModule in your Parent module,

    //parent component's module
    @NgModule({
        // ...
        imports: [
            // ...
            AaclTimelineModule
            //
        ],
        // ...
    })
    export class ... { }
  2. add <aacl-timeline> in your template

    <aacl-timeline [options]="timelineOptions"></aacl-timeline>
  3. initialize aacl-timeline options in your parent component's .ts file;

    this.timelineOptions = {
        //... config options here
    } as AaclTimelineOptions;

    detailed configuration details can be found in aacl-timeline.options.ts, and see aacl-timeline-page for an example

Contributors

Readme

Keywords

none

Package Sidebar

Install

npm i aacl-timeline

Weekly Downloads

1

Version

15.0.0-beta.1

License

none

Unpacked Size

55.4 kB

Total Files

18

Last publish

Collaborators

  • pxzhang