ember-cli-numeric-text-input

The default blueprint for ember-cli addons.

Usage no npm install needed!

<script type="module">
  import emberCliNumericTextInput from 'https://cdn.skypack.dev/ember-cli-numeric-text-input';
</script>

README

Ember-cli-numeric-text-input

This addon allows you to target a group of inputs and prevent non-numeric characters being added.

The aim is to allow other commands to be maintained.

Implementation for this addon based on this StackOverflow answer.

Installation

  • git clone this repository
  • npm install
  • bower install

Running

  • ember serve
  • Visit your app at http://localhost:4200.

Running Tests

  • npm test (Runs ember try:testall to test your addon against multiple Ember versions)
  • ember test
  • ember test --server

Building

  • ember build

For more information on using ember-cli, visit http://ember-cli.com/.