Important: This documentation covers Yarn 1 (Classic).
For Yarn 2+ docs and migration guide, see yarnpkg.com.

Package detail

ember-maskmoney

clairton88MIT0.4.6

An ember-cli addon for creating money masks on text fields.

ember-addon, mask-money, input-maskmoney, input-money, maskmoney

readme

ember-maskmoney Build Status

jquery-maskmoney wrapper for ember-cli

Installation

cd your-project-directory
ember install ember-maskmoney

Usage

You can use all options from docs

{{input-money placeholder=placeholder number=model.amount class=inputClass}}

If you want masked values without decimal, add allowDecimal=false attribute.

{{input-money number=amount thousands='.' allowDecimal=false decimal='' precision=0 suffix='' preffix='$'}}

Important, use number attribute for bindings.

It extends Ember.TextField, so you can also use all of its options.