Timepicker(ngx-bootstrap)更改子午线(PM / AM)样式(颜色/背景)

问题描述 投票:0回答:1

我正在使用ngx-bootstrap的Timepicker,需要更改子午线(AM / PM)的背景,最好更改分钟和子午线之间的间距。我所拥有的是:

<timepicker [(ngModel)]="myTime"></timepicker>

没有像Datepicker(bsConfig)或Themes这样的配置选项,该组件正在使用HTML TABLE进行构建。任何帮助将不胜感激。

angular timepicker ngx-bootstrap
1个回答
0
投票

您是否已结婚使用NGX Bootstrap?我建议迁移到ng-bootstrap的时间选择器,因为它提供了子午线支持,并且CSS易于操作。

https://ng-bootstrap.github.io/#/components/timepicker/examples

© www.soinside.com 2019 - 2024. All rights reserved.