mirror of
https://github.com/danielsogl/awesome-cordova-plugins.git
synced 2025-03-04 00:13:06 +08:00
docs(date-picker): fix some typos
docs(date-picker): fix some typos
This commit is contained in:
commit
73d6fa1998
@ -1,5 +1,5 @@
|
|||||||
import { Injectable } from '@angular/core';
|
import { Injectable } from '@angular/core';
|
||||||
import { Cordova, Plugin, IonicNativePlugin } from '@ionic-native/core';
|
import { Cordova, IonicNativePlugin, Plugin } from '@ionic-native/core';
|
||||||
|
|
||||||
export interface DatePickerOptions {
|
export interface DatePickerOptions {
|
||||||
/**
|
/**
|
||||||
@ -21,13 +21,13 @@ export interface DatePickerOptions {
|
|||||||
|
|
||||||
/**
|
/**
|
||||||
* Maximum date
|
* Maximum date
|
||||||
* Default?: empty String
|
* Default: empty String
|
||||||
*/
|
*/
|
||||||
maxDate?: Date | string | number;
|
maxDate?: Date | string | number;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Label for the dialog title. If empty, uses android default (Set date/Set time).
|
* Label for the dialog title. If empty, uses android default (Set date/Set time).
|
||||||
* Default?: empty String
|
* Default: empty String
|
||||||
*/
|
*/
|
||||||
titleText?: string;
|
titleText?: string;
|
||||||
|
|
||||||
@ -116,7 +116,6 @@ export interface DatePickerOptions {
|
|||||||
* Force locale for datePicker.
|
* Force locale for datePicker.
|
||||||
*/
|
*/
|
||||||
locale?: string;
|
locale?: string;
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
@ -155,7 +154,6 @@ export interface DatePickerOptions {
|
|||||||
})
|
})
|
||||||
@Injectable()
|
@Injectable()
|
||||||
export class DatePicker extends IonicNativePlugin {
|
export class DatePicker extends IonicNativePlugin {
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @hidden
|
* @hidden
|
||||||
*/
|
*/
|
||||||
@ -176,5 +174,4 @@ export class DatePicker extends IonicNativePlugin {
|
|||||||
show(options: DatePickerOptions): Promise<Date> {
|
show(options: DatePickerOptions): Promise<Date> {
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user