mirror of
https://github.com/danielsogl/awesome-cordova-plugins.git
synced 2025-04-21 17:36:27 +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({
|
@Plugin({
|
||||||
name: 'DatePicker',
|
name: 'DatePicker',
|
||||||
plugin: '',
|
plugin: 'cordova-plugin-datepicker',
|
||||||
pluginRef: ''
|
pluginRef: 'plugins.datePicker'
|
||||||
})
|
})
|
||||||
export class DatePicker {
|
export class DatePicker {
|
||||||
|
|
||||||
@ -30,6 +30,7 @@ export class DatePicker {
|
|||||||
* @param options
|
* @param options
|
||||||
* @returns {Promise<Date>} Returns a promise that resolves with the picked date and/or time, or rejects with an error.
|
* @returns {Promise<Date>} Returns a promise that resolves with the picked date and/or time, or rejects with an error.
|
||||||
*/
|
*/
|
||||||
|
@Cordova
|
||||||
static show(options? : {
|
static show(options? : {
|
||||||
mode : string,
|
mode : string,
|
||||||
date : string,
|
date : string,
|
||||||
|
Loading…
x
Reference in New Issue
Block a user