mirror of
https://github.com/danielsogl/awesome-cordova-plugins.git
synced 2025-01-19 08:32:52 +08:00
fix(plugin): fix options properties
This commit is contained in:
parent
1a778e7f10
commit
44365f4c60
@ -20,7 +20,7 @@ export interface datePickerOptions {
|
||||
* Type: Date | empty String
|
||||
* Default: empty String
|
||||
*/
|
||||
minDate?: Date,
|
||||
minDate: Date,
|
||||
|
||||
/**
|
||||
* Platforms: iOS, Android, Windows
|
||||
@ -28,7 +28,7 @@ export interface datePickerOptions {
|
||||
* Type: Date | empty String
|
||||
* Default: empty String
|
||||
*/
|
||||
maxDate?: Date,
|
||||
maxDate: Date,
|
||||
|
||||
/**
|
||||
* Platforms: Android
|
||||
@ -36,31 +36,31 @@ export interface datePickerOptions {
|
||||
* Type: String
|
||||
* Default: empty String
|
||||
*/
|
||||
titleText?: string,
|
||||
titleText: string,
|
||||
|
||||
/**
|
||||
* Platforms: Android
|
||||
* Label of BUTTON_POSITIVE (done button) on Android
|
||||
*/
|
||||
okText?: string,
|
||||
okText: string,
|
||||
|
||||
// TODO complete documentation here, and copy params & docs to main plugin docs
|
||||
cancelText?: string,
|
||||
todayText?: string,
|
||||
nowText?: string,
|
||||
is24Hour?: boolean,
|
||||
androidTheme?: number,
|
||||
allowOldDate?: boolean,
|
||||
allowFutureDates?: boolean,
|
||||
doneButtonLabel?: string,
|
||||
doneButtonColor?: string,
|
||||
cancelButtonLabel?: string,
|
||||
cancelButtonColor?: string,
|
||||
x?: number,
|
||||
y?: number,
|
||||
minuteInterval?: number,
|
||||
popoverArrowDirection?: string,
|
||||
locale?: string
|
||||
cancelText: string,
|
||||
todayText: string,
|
||||
nowText: string,
|
||||
is24Hour: boolean,
|
||||
androidTheme: number,
|
||||
allowOldDate: boolean,
|
||||
allowFutureDates: boolean,
|
||||
doneButtonLabel: string,
|
||||
doneButtonColor: string,
|
||||
cancelButtonLabel: string,
|
||||
cancelButtonColor: string,
|
||||
x: number,
|
||||
y: number,
|
||||
minuteInterval: number,
|
||||
popoverArrowDirection: string,
|
||||
locale: string
|
||||
}
|
||||
|
||||
/**
|
||||
|
Loading…
Reference in New Issue
Block a user