@alta-ng-timeago/ng-time-ago-alta-vn

1.0.0 • Public • Published

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

Package Sidebar

Install

npm i @alta-ng-timeago/ng-time-ago-alta-vn

Weekly Downloads

0

Version

1.0.0

License

ISC

Unpacked Size

10.8 kB

Total Files

17

Last publish

Collaborators

  • hiamtanh