a7-ng-util
v0.0.4
Published
simple angular utility library with basic functions
Downloads
6
Readme
Angular Utility Library (simple angular utility library)!
Simple angular utility library with common functions
npm i a7-ng-util
Documentation
1. Use in Component
import { A7NgUtilService } from 'a7-ng-util';
export class AppComponent {
constructor(private util: A7NgUtilService)
TestUtils() {
var rest = this.util.getDateFormat(new Date(), 'dd MMM, yyyy');
rest = this.util.getDateFormatWithTime(new Date(), 'dd MMM, yyyy hh:mm:ss');
console.log(rest);
}
}
Tested on modern browsers
Issues: [email protected]