📜  角形式脏vs原始vs触摸vs未触及vs有效vs无效-任何代码示例

📅  最后修改于: 2022-03-11 14:58:47.636000             🧑  作者: Mango

代码示例1
According to angular 6+,
- valid: This property returns true if the element’s contents are valid and false otherwise.
- invalid: This property returns true if the element’s contents are invalid and false otherwise.
= pristine: This property returns true if the element’s contents have not been changed.
- dirty: This property returns true if the element’s contents have been changed.
- untouched: This property returns true if the user has not visited the element.
- touched: This property returns true if the user has visited the element.