可自定义的角度日期选择器 [英] Customizable Angular datepicker

查看:68
本文介绍了可自定义的角度日期选择器的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

您知道一个有输入功能的Angular日期选择器吗?

Do you know an Angular datepicker which has input features like:


  • 键盘导航(例如前一天的按键按下,第二天的按键按下) )(在输入字段中不是我的意思)

  • 自动完成,例如当您填写12/12并按Tab键离开时,它将自动填写2019年12月12日

  • 用于特定操作的键,例如T填写今天的日期

还是可以轻松定制以使其像这样工作的日期选择器?

Or a datepicker which can be easily customized to work like this?

我发现Kendo和Syncfusion之类的库中的日期选择器尝试执行过多操作,因此很难根据我们的需求进行自定义。他们专注于datepicker弹出窗口,而没有鼠标则很难使用输入字段。

I found that datepickers from libraries like Kendo and Syncfusion try to do too much and are therefore difficult to customize to our needs. They focus on the datepicker popup, while the input field is hard to work with without mouse.

(旧的ASP.NET Peterblum组件具有所有这些用户友好的功能,在现代框架中似乎不可用,请参见: http://peterblum.com/DES/ DateAndTime.aspx#DateTextBox )。

(the old ASP.NET Peterblum components had all this user-friendly functionality which does not seem to be available in modern frameworks, see: http://peterblum.com/DES/DateAndTime.aspx#DateTextBox).

推荐答案

您可以在此处找到一些用角度写的日期选择器, href = https://angularscript.com/?s=datetime+picker+ rel = nofollow noreferrer> https://angularscript.com/?s=datetime+picker+ 。其中大多数可根据您的需求进行定制。谢谢

You can find some date-pickers written in angular here, https://angularscript.com/?s=datetime+picker+. Most of these are customizable as your needs. Thanks

这篇关于可自定义的角度日期选择器的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆