# ionic2-numericpicker

> Component for picking numbers in ionic2

Latest version **1.3.0** (published 2017-12-07) · MIT license · 0 weekly downloads

## Install

```sh
npm install ionic2-numericpicker
pnpm add ionic2-numericpicker
yarn add ionic2-numericpicker
bun add ionic2-numericpicker
```

## Health

**Score 25/100 (F)** — status: abandoned.

Positive: has types; no vulnerabilities; high quality score.

Warnings: low downloads; no esm support.

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 1.3.0 |
| Published | 2017-12-07 |
| First published | 2016-11-26 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | bundled |
| Module format | CommonJS |
| Dependencies | 0 |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 0 |
| Maintainers | misha130 |

## Links

- npm: https://www.npmjs.com/package/ionic2-numericpicker
- Repository: https://github.com/misha130/ionic2-numericpicker
- Homepage: git+https://github.com/misha130/ionic2-numericpicker#readme
- Issues: git+https://github.com/misha130/ionic2-numericpicker/issues
- npm.io page: https://npm.io/package/ionic2-numericpicker

## Recent versions

- 1.3.0 (latest) — 2017-12-07
- 0.0.1 (ionic2) — 2016-11-26
- 1.2.0 — 2017-05-04
- 1.1.0 — 2017-03-12
- 1.0.3 — 2017-02-03
- 1.0.1 — 2016-12-16
- 1.0.0 — 2016-12-10
- 0.0.8 — 2016-11-29
- 0.0.7 — 2016-11-27
- 0.0.6 — 2016-11-27
- 0.0.5 — 2016-11-27
- 0.0.4 — 2016-11-26
- 0.0.3 — 2016-11-26
- 0.0.2 — 2016-11-26

## README

# Ionic Numeric Picker


To Install

```
    npm i ionic2-numericpicker --save
```

To import

```
      imports: [
          NumericModule
     ],
```

To Use

```
<ion-item>
  <ion-label>Number</ion-label>
  <ion-numeric item-content displayFormat="xx" [(ngModel)]="myDate"></ion-numeric>
</ion-item>
```


# Options

* min  	

Optional. Minimum number that can be selected

* max

Optional. Maximum number that can be selected

* displayFormat

Default is XX.XX. Determines how it should be displayed after selection

* pickerFormat

Default is displayFormat. Determines how it should be displayed in the pickerFormat

* cancelText

 The text to display on the picker's cancel button. Default: Cancel.

* doneText

 The text to display on the picker's "Done" button. Default: Done.

* pickerOptions

  Any additional options that the picker interface can accept. See the Picker API docs for the picker options.

* mode

 The mode to apply to this component.

* disabled

 Whether or not the datetime component is disabled. Default false.

 # Output Events

* ionChange
 
  Any expression to evaluate when the datetime selection has changed.

* ionCancel

 Any expression to evaluate when the datetime selection was cancelled.


 # Sass Variables

 For the sake of convience it uses the datetime classes.

 * $datetime-ios-padding-top
 
  Padding top of the component

 * $datetime-ios-padding-right

 Padding right of the component

 * $datetime-ios-padding-bottom

 Padding bottom of the DateTime component

 * $datetime-ios-padding-left

 Padding left of the DateTime component

---
_Source: https://npm.io/package/ionic2-numericpicker · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
