角材料设计中的时间输入

时间:2018-07-18 15:24:36

标签: angular material-design angular6 angular-material-6

我正在使用Angular 5和材料库。我需要使用时间输入,但是在文档中,我没有找到完成此任务的说明。有谁有相同的需求可以建议我一个好的教程或文档? Tnx

1 个答案:

答案 0 :(得分:0)

在matinput标签中使用type =“ time”
以前的代码:

<input type="time" matInput placeholder="enter time">
相关问题