Skip to content

Commit 99f8056

Browse files
committed
docs(datetime): move datetime header above calendar header
1 parent c22dadb commit 99f8056

1 file changed

Lines changed: 10 additions & 10 deletions

File tree

docs/api/datetime.md

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -354,6 +354,16 @@ The benefit of this approach is that every component, not just `ion-datetime`, c
354354

355355
<GlobalTheming />
356356

357+
### Datetime Header
358+
359+
The datetime header manages the content for the `title` slot and the selected date.
360+
361+
:::note
362+
The selected date will not render if `preferWheel` is set to `true`.
363+
:::
364+
365+
<DatetimeHeaderStyling />
366+
357367
### Calender Header
358368

359369
The calendar header manages the date navigation controls (month/year picker and prev/next buttons) and the days of the week when using a grid style layout.
@@ -372,16 +382,6 @@ The example below selects the day 2 days ago, unless that day is in the previous
372382

373383
<CalendarDaysStyling />
374384

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-
385385
### Wheel Pickers
386386

387387
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

Comments
 (0)