jff-angular-tools
TypeScript icon, indicating that this package has built-in type declarations

1.0.1 • Public • Published

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

option default
displaySymbol true
locale 'pt-br'
currency 'BRL'
minimumFractionDigits 0

/jff-angular-tools/

    Package Sidebar

    Install

    npm i jff-angular-tools

    Weekly Downloads

    7

    Version

    1.0.1

    License

    MIT

    Unpacked Size

    20.6 kB

    Total Files

    14

    Last publish

    Collaborators

    • josembergff