docs(date-picker): fix some typos

docs(date-picker): fix some typos
This commit is contained in:
Daniel Sogl 2018-03-16 16:55:11 +01:00 committed by GitHub
commit 73d6fa1998
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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;
} }
} }