ng2-timeline
Installation
To install this library, run:
$ npm install ng2-timeline --save
Consuming your library
Once you have published your library to npm, you can import your library in any Angular application by running:
$ npm install ng2-timeline
and then from your Angular Module
:
// Import your library;
Once your library is imported, you can use its components, directives and pipes in your Angular application:
<!-- You can now use your library component in app.component.html --> {{title}}
In your component class create the parameter and callback function
Development
To generate all *.js
, *.d.ts
and *.metadata.json
files:
$ npm run build
To lint all *.ts
files:
$ npm run lint
License
MIT © Mohammed Rashid