在角度datepicker中显示两个月

时间:2021-09-28 03:26:00

I want to have a date picker which displays 2 months calendar at a time in angular. want the one like in this. Please suggest how to implement that in angular

我想要一个日期选择器,每次以角度显示2个月的日历。想要这样的人。请建议如何以角度实现

在角度datepicker中显示两个月

2 个解决方案

#1


4  

The angular-daterangepicker from fragaria seems to match the requirements here.

来自fragaria的angular-daterangepicker似乎符合这里的要求。

There is a live demo of the picker here, just click on the date-range in the upper right corner to see it in action.

这里有一个选择器的现场演示,只需点击右上角的日期范围即可看到它的实际效果。

#2


0  

Datetime Range Picker is a good option too. Additionally, it has the time component.

日期时间范围选择器也是一个不错的选择。此外,它还有时间组件。

http://rgkevin.github.io/datetimeRangePicker/#/home

http://rgkevin.github.io/datetimeRangePicker/#/home

在角度datepicker中显示两个月

#1


4  

The angular-daterangepicker from fragaria seems to match the requirements here.

来自fragaria的angular-daterangepicker似乎符合这里的要求。

There is a live demo of the picker here, just click on the date-range in the upper right corner to see it in action.

这里有一个选择器的现场演示,只需点击右上角的日期范围即可看到它的实际效果。

#2


0  

Datetime Range Picker is a good option too. Additionally, it has the time component.

日期时间范围选择器也是一个不错的选择。此外,它还有时间组件。

http://rgkevin.github.io/datetimeRangePicker/#/home

http://rgkevin.github.io/datetimeRangePicker/#/home

在角度datepicker中显示两个月