npm i --save @testjg/nativescript-datetimeselector
- Version: 1.0.0
- GitHub: https://github.com/TestJG/mtmobile-plugins
- NPM: https://www.npmjs.com/package/%40testjg%2Fnativescript-datetimeselector
- Downloads:
- Last Day: 0
- Last Week: 0
- Last Month: 0
@testjg/nativescript-datetimeselector
Installation
ns plugin add @testjg/nativescript-datetimeselector
Usage
// Return Date with hours, minutes and seconds set to zero
const date = await showDateSelector({ okText: 'ok', cancelText: 'cancel' });
// Returns Date
const dateTime = await showDateTimeSelector({ okText: 'ok', cancelText: 'cancel' });
// Returns number of seconds
const time = await showTimeSelector({ okText: 'ok', cancelText: 'cancel' });
License
Apache License Version 2.0