1.0.1 • Published 12 months ago

jff-angular-tools v1.0.1

Weekly downloads
-
License
MIT
Repository
github
Last release
12 months ago

JFF Angular Tools

A Open Source Angular components and tools for any project based in Angular.

How to use

Installation

npm i jff-angular-tools --save

Apply in your module

import { JffAngularToolsModule } from 'jff-angular-tools'

@NgModule({
    imports: [
        JffAngularToolsModule
    ],
})

Pipe Currency

In your component.html

    <div>
        {{ object.cost | jffcurrency }}
    </div>

or without symbol

    <div>
        {{ object.cost | jffcurrency : false }}
    </div>

Options Pipe Currency

optiondefault
displaySymboltrue
locale'pt-br'
currency'BRL'
minimumFractionDigits0