mirror of
https://github.com/ionic-team/ionic-framework.git
synced 2026-03-13 10:22:08 +08:00
chore: format string values in comments with double quotes (#26857)
This commit is contained in:
@@ -199,11 +199,11 @@ export class Datetime implements ComponentInterface {
|
||||
}
|
||||
|
||||
/**
|
||||
* Which values you want to select. `'date'` will show
|
||||
* a calendar picker to select the month, day, and year. `'time'`
|
||||
* Which values you want to select. `"date"` will show
|
||||
* a calendar picker to select the month, day, and year. `"time"`
|
||||
* will show a time picker to select the hour, minute, and (optionally)
|
||||
* AM/PM. `'date-time'` will show the date picker first and time picker second.
|
||||
* `'time-date'` will show the time picker first and date picker second.
|
||||
* AM/PM. `"date-time"` will show the date picker first and time picker second.
|
||||
* `"time-date"` will show the time picker first and date picker second.
|
||||
*/
|
||||
@Prop() presentation: DatetimePresentation = 'date-time';
|
||||
|
||||
@@ -296,7 +296,7 @@ export class Datetime implements ComponentInterface {
|
||||
/**
|
||||
* The locale to use for `ion-datetime`. This
|
||||
* impacts month and day name formatting.
|
||||
* The `'default'` value refers to the default
|
||||
* The `"default"` value refers to the default
|
||||
* locale set by your device.
|
||||
*/
|
||||
@Prop() locale = 'default';
|
||||
@@ -440,11 +440,11 @@ export class Datetime implements ComponentInterface {
|
||||
* a wheel picker where possible.
|
||||
*
|
||||
* A wheel picker can be rendered instead of a grid when `presentation` is
|
||||
* one of the following values: `'date'`, `'date-time'`, or `'time-date'`.
|
||||
* one of the following values: `"date"`, `"date-time"`, or `"time-date"`.
|
||||
*
|
||||
* A wheel picker will always be rendered regardless of
|
||||
* the `preferWheel` value when `presentation` is one of the following values:
|
||||
* `'time'`, `'month'`, `'month-year'`, or `'year'`.
|
||||
* `"time"`, `"month"`, `"month-year"`, or `"year"`.
|
||||
*/
|
||||
@Prop() preferWheel = false;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user