Skip to content

Commit

Permalink
fix(interface): params are optional
Browse files Browse the repository at this point in the history
  • Loading branch information
ihadeed committed Mar 14, 2016
1 parent fb0cb19 commit e708bc6
Showing 1 changed file with 27 additions and 27 deletions.
54 changes: 27 additions & 27 deletions src/plugins/datepicker.ts
Original file line number Diff line number Diff line change
Expand Up @@ -20,47 +20,47 @@ export interface datePickerOptions {
* Type: Date | empty String
* Default: empty String
*/
minDate: Date,
minDate?: Date,

/**
* Platforms: iOS, Android, Windows
* Platforms?: iOS, Android, Windows
* Maximum date
* Type: Date | empty String
* Default: empty String
* Type?: Date | 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).
* Type: String
* Default: empty String
* Type?: String
* Default?: empty String
*/
titleText: string,
titleText?: string,

/**
* Platforms: Android
* 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
}

/**
Expand Down

0 comments on commit e708bc6

Please sign in to comment.