You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/api/datetime.md
+11Lines changed: 11 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -43,6 +43,7 @@ import MultipleDateSelection from '@site/static/usage/v8/datetime/multiple/index
43
43
import GlobalTheming from '@site/static/usage/v8/datetime/styling/global-theming/index.md';
44
44
import CalendarHeaderStyling from '@site/static/usage/v8/datetime/styling/calendar-header/index.md';
45
45
import CalendarDaysStyling from '@site/static/usage/v8/datetime/styling/calendar-days/index.md';
46
+
import DatetimeHeaderStyling from '@site/static/usage/v8/datetime/styling/datetime-header/index.md';
46
47
import WheelStyling from '@site/static/usage/v8/datetime/styling/wheel-styling/index.md';
47
48
48
49
<head>
@@ -371,6 +372,16 @@ The example below selects the day 2 days ago, unless that day is in the previous
371
372
372
373
<CalendarDaysStyling />
373
374
375
+
### Datetime Header
376
+
377
+
The datetime header manages the content for the `title` slot and the selected date.
378
+
379
+
:::note
380
+
The selected date will not render if `preferWheel` is set to `true`.
381
+
:::
382
+
383
+
<DatetimeHeaderStyling />
384
+
374
385
### Wheel Pickers
375
386
376
387
The wheels used in `ion-datetime` can be styled through a combination of shadow parts and CSS variables. This applies to both the columns in wheel-style datetimes, and the month/year picker in grid-style datetimes.
0 commit comments