2017年10月20日
摘要: 测试地址: https://www.w3cschool.cn/tools/index?name=reg 实例: 一、校验数字的表达式 数字:^[0-9]*$n位的数字:^\d{n}$至少n位的数字:^\d{n,}$m-n位的数字:^\d{m,n}$零和非零开头的数字:^(0|[1-9][0-9]*) 阅读全文
posted @ 2017-10-20 20:25 陌生街中吹起褪色故梦 阅读(192) 评论(0) 推荐(0)
摘要: 输入框输入过程触发Select()方法。 <input type="text" name="code" [(ngModel)]="code" (keyup)="Select()"> 输入框输入完触发Select()方法。 <input type="text" name="code" [(ngMode 阅读全文
posted @ 2017-10-20 20:21 陌生街中吹起褪色故梦 阅读(415) 评论(0) 推荐(0)