mirror of
https://github.com/danielsogl/awesome-cordova-plugins.git
synced 2025-02-21 00:23:00 +08:00
fix(): datepicker plugin, pluginref, and @Cordova wrapper
This commit is contained in:
parent
5afa58fee4
commit
499ead3aae
@ -20,8 +20,8 @@ import {Plugin, Cordova} from './plugin';
|
||||
*/
|
||||
@Plugin({
|
||||
name: 'DatePicker',
|
||||
plugin: '',
|
||||
pluginRef: ''
|
||||
plugin: 'cordova-plugin-datepicker',
|
||||
pluginRef: 'plugins.datePicker'
|
||||
})
|
||||
export class DatePicker {
|
||||
|
||||
@ -30,6 +30,7 @@ export class DatePicker {
|
||||
* @param options
|
||||
* @returns {Promise<Date>} Returns a promise that resolves with the picked date and/or time, or rejects with an error.
|
||||
*/
|
||||
@Cordova
|
||||
static show(options? : {
|
||||
mode : string,
|
||||
date : string,
|
||||
|
Loading…
Reference in New Issue
Block a user