ionic-team / ionic-framework

A powerful cross-platform UI toolkit for building native-quality iOS, Android, and Progressive Web Apps with HTML, CSS, and JavaScript.
https://ionicframework.com
MIT License
50.5k stars 13.53k forks source link

feat: ion-datetime add calendar day highlight customclass #29426

Closed GerardoPrototype closed 2 weeks ago

GerardoPrototype commented 3 weeks ago

Prerequisites

Describe the Feature Request

I would like to add a bar below the numbers

Describe the Use Case

Captura de pantalla 2024-04-30 a la(s) 12 59 15 p m

Describe Preferred Solution

I suppose for developer experience it can be added as an additional prop? Otherwise editing the shadow css or a custom class?

Feedback for the solution would be helpful here as my opinion may be naive.

Describe Alternatives

No response

Related Code

No response

Additional Information

28022 I took some of the information from this case. since I think it is not a duplicate

liamdebeasi commented 2 weeks ago

Thanks for the issue. I am going to close this as a duplicate of https://github.com/ionic-team/ionic-framework/issues/25340. The highlightedDates API lets you call out notable dates using text and background colors. We don't support the specific bar layout requested here, but this API can be used to achieve the overall goal of highlighting important dates.