mirror of
https://github.com/danielsogl/awesome-cordova-plugins.git
synced 2025-02-07 23:03:19 +08:00
fix(interface): params are optional
This commit is contained in:
parent
fb0cb19c00
commit
e708bc6be7
@ -20,47 +20,47 @@ export interface datePickerOptions {
|
|||||||
* Type: Date | empty String
|
* Type: Date | empty String
|
||||||
* Default: empty String
|
* Default: empty String
|
||||||
*/
|
*/
|
||||||
minDate: Date,
|
minDate?: Date,
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Platforms: iOS, Android, Windows
|
* Platforms?: iOS, Android, Windows
|
||||||
* Maximum date
|
* Maximum date
|
||||||
* Type: Date | empty String
|
* Type?: Date | empty String
|
||||||
* Default: empty String
|
* Default?: empty String
|
||||||
*/
|
*/
|
||||||
maxDate: Date,
|
maxDate?: Date,
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Platforms: Android
|
* Platforms?: Android
|
||||||
* 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).
|
||||||
* Type: String
|
* Type?: String
|
||||||
* Default: empty String
|
* Default?: empty String
|
||||||
*/
|
*/
|
||||||
titleText: string,
|
titleText?: string,
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Platforms: Android
|
* Platforms?: Android
|
||||||
* Label of BUTTON_POSITIVE (done button) on 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
|
// TODO complete documentation here, and copy params & docs to main plugin docs
|
||||||
cancelText: string,
|
cancelText?: string,
|
||||||
todayText: string,
|
todayText?: string,
|
||||||
nowText: string,
|
nowText?: string,
|
||||||
is24Hour: boolean,
|
is24Hour?: boolean,
|
||||||
androidTheme: number,
|
androidTheme?: number,
|
||||||
allowOldDate: boolean,
|
allowOldDate?: boolean,
|
||||||
allowFutureDates: boolean,
|
allowFutureDates?: boolean,
|
||||||
doneButtonLabel: string,
|
doneButtonLabel?: string,
|
||||||
doneButtonColor: string,
|
doneButtonColor?: string,
|
||||||
cancelButtonLabel: string,
|
cancelButtonLabel?: string,
|
||||||
cancelButtonColor: string,
|
cancelButtonColor?: string,
|
||||||
x: number,
|
x?: number,
|
||||||
y: number,
|
y?: number,
|
||||||
minuteInterval: number,
|
minuteInterval?: number,
|
||||||
popoverArrowDirection: string,
|
popoverArrowDirection?: string,
|
||||||
locale: string
|
locale?: string
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
Loading…
Reference in New Issue
Block a user