Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

org.webjars.bowergithub.jstroem:ng-input-currency

Package Overview
Dependencies
Maintainers
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

org.webjars.bowergithub.jstroem:ng-input-currency

WebJar for ng-input-currency

  • 0.9.10
  • Source
  • Maven
  • Socket score

Version published
Maintainers
1
Source

ng-input-currency

Build Status Coverage Status npm

Angular directive for formatting inputs as currency fields. This repo is inspired by format-as-currency.

Demo

http://jstroem.github.io/ng-input-currency/demo

Installation

Install via bower or NPM:

  • Bower: bower install --save ng-input-currency
  • NPM: npm install --save ng-input-currency

Usage

<div ng-controller="myController">
  <input ng-input-currency ng-model="value" type="text">
</div>

<script src="bower_components/angular/angular.js"></script>
<script src="bower_components/format-as-currency/format-as-currency.js"></script>
<script>
  angular
  .module('myModule', ['ngInputCurrency'])
  .controller('myController', function ($scope) {
    $scope.value = '' // currency input value
  });
</script>

With a module loader

Browserify
var formatAsCurrency = require('ng-input-currency')
angular.module('myModule', [ngInputCurrency])
Rollup
import * as ngInputCurrency from 'ng-input-currency'
angular.module('myModule', [ngInputCurrency])
Webpack
var ngInputCurrency = require('ng-input-currency')
angular.module('myModule', [ngInputCurrency])

Running the tests

npm test

Contributing

Contributions are welcome!

FAQs

Package last updated on 12 Oct 2018

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc