# nativescript-timedatepicker-renet

> A NativeScript module providing native Android time and date pickers

Latest version **1.2.1** (published 2016-11-24) · 0 weekly downloads

## Install

```sh
npm install nativescript-timedatepicker-renet
pnpm add nativescript-timedatepicker-renet
yarn add nativescript-timedatepicker-renet
bun add nativescript-timedatepicker-renet
```

## Health

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

Positive: has types; no vulnerabilities.

Warnings: low downloads; no esm support.

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 1.2.1 |
| Published | 2016-11-24 |
| First published | 2016-11-22 |
| Weekly downloads | 0 |
| TypeScript types | bundled |
| Module format | CommonJS |
| Dependencies | 0 |
| Known vulnerabilities | 0 |
| Install scripts | no |
| Author | Antonio Cueva Urraco |
| Maintainers | leocaseiro |
| Keywords | NativeScript |

## Links

- npm: https://www.npmjs.com/package/nativescript-timedatepicker-renet
- Repository: https://github.com/leocaseiro/nativescript-timedatepicker
- Issues: https://github.com/leocaseiro/nativescript-timedatepicker/issues
- npm.io page: https://npm.io/package/nativescript-timedatepicker-renet

## Recent versions

- 1.2.1 (latest) — 2016-11-24
- 1.2.0 — 2016-11-24
- 1.1.1 — 2016-11-22
- 1.1.0 — 2016-11-22

## README

# nativescript-timedatepicker

A NativeScript plugin providing native date and time pickers for Android and iOS.

##Android side
![alt tag](https://github.com/AntonioCuevaUrraco/nativescript-timedatepicker/blob/master/demo/Screenshots/Android.jpg) 
##iOS side
![alt tag](https://github.com/AntonioCuevaUrraco/nativescript-timedatepicker/blob/master/demo/Screenshots/ios.jpg) 

## Usage
```ts

//Import the plugin
import * as TimeDatePicker from 'nativescript-timedatepicker';

//Create a callback function
let mCallback =  ((result) => {
  if (result) {
    alert("the time is "+result);
  }
});

//Initialize the PickerManager (.init(yourCallback, title, initialDate))
TimeDatePicker.init(mCallback,null,null);

//Show the dialog
TimeDatePicker.showDatePickerDialog();

```
For more examples of usage see the demo [main-view-model.ts](https://github.com/AntonioCuevaUrraco/nativescript-timedatepicker/tree/master/demo/app).


##Credits
This plugin abstract two native libraries, hence here are the project and deserved merit to the creators.

For iOS https://github.com/hackiftekhar/IQActionSheetPickerView   
For Android https://github.com/CiTuX/datetimepicker

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