角度材料设计中的时间输入

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

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

angular material-design angular6 angular-material-6
1个回答
0
投票

在matinput标记中使用type =“time” 前代码:

<input type="time" matInput placeholder="enter time">
© www.soinside.com 2019 - 2024. All rights reserved.