1.0.0 • Published 3 years ago
@alta-ng-timeago/ng-time-ago-alta-vn v1.0.0
NgTimeago
Angular 9 Date, DateTime, and timeago
Usage
Install
npm i @hiamtanh/ng-time-ago-alta-vn
Import
import { NgTimeagoModule } from '@hiamtanh/ng-time-ago-alta-vn';
@NgModule({
imports: [..., NgTimeagoModule]
...})
use
.color-b {color:green;}
...
<ng-timeago [date]="dt"
[styles]="'color-b'"></ng-timeago>
<ng-timeago [date]="dt"
[show]="'date'"></ng-timeago>
<ng-timeago [date]="dt"
[show]="'dateTime'"></ng-timeago>
<ng-timeago [date]="dt"
[show]="'timeago'"></ng-timeago>
This library was generated with Angular CLI
1.0.0
3 years ago