Graniron / ng-utils

Collection of utils for Angular application

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

ng-utils

Collection of utils for Angular application

Install

  1. npm install --save @techmagic/ng-utils
  2. import { NgUtilsModule } from '@techmagic/ng-utils-lib'
  3. Add NgUtilsModule to your imports array: imports: [ NgUtilsModule ]

Utils

Directives

nguThrottleClick

Throttle click to declared number of milliseconds

<button (nguThrottleClick)="onClick()">Click</button>
Property Type Default value Description
nguThrottleClick function - Method to handle click
throttleTime number 1000 Time to throttle click event

About

Collection of utils for Angular application


Languages

Language:TypeScript 76.0%Language:JavaScript 20.7%Language:HTML 2.7%Language:CSS 0.6%