1.0.0 • Published 3 years ago

@alta-ng-timeago/ng-time-ago-alta-vn v1.0.0

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

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