0.0.9 • Published 3 years ago

ngx-timeline-view v0.0.9

Weekly downloads
-
License
-
Repository
-
Last release
3 years ago

NgxTimelineView

An Angular timeline component.

Installation

Install package

npm i ngx-timeline-view

Import module

import { NgxTimelineViewModule } from 'ngx-timeline-view';

@NgModule({
    imports: [NgxTimelineViewModule]
})

Usage

HTML

<ngx-timeline-view [events]="events"></ngx-timeline-view>

TypeScript

import { TimelineEvent } from 'ngx-timeline-view';

events: TimelineEvent[] = [
    { date: new Date('11/15/22'), content: 'A timeline event' },
    { date: new Date('8/3/22'), content: 'Another timeline event' }
];

Properties

NameTypeDescription
eventsTimelineEvent[]Array of timeline events
isTimeSincebooleanChanges date to time since
circleColorstringChanges color of the circle
0.0.9

3 years ago

0.0.8

3 years ago

0.0.7

3 years ago

0.0.6

3 years ago

0.0.5

3 years ago

0.0.4

3 years ago

0.0.3

3 years ago

0.0.2

3 years ago

0.0.1

3 years ago