npm.io
0.4.6 • Published 7 years ago

ember-maskmoney

Licence
MIT
Version
0.4.6
Deps
1
Size
8 kB
Vulns
0
Weekly
0
Stars
7

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.

}}
Important, use __INLINE_CODE_1__ attribute for bindings.

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