
前端开发(Angular、JavaScrIpt)
基于Angular、Javascript的前端开发
ljh0302
软件研发工程师
后端Java,前端Angular
展开
-
Callbacks, Promises and Async/Await
转载地址:https://medium.com/front-end-hacking/callbacks-promises-and-async-await-ad4756e01d90Callbacks, Promises and Async/AwaitThis is my attempt to explain how to use asynchronous code in Javascri...转载 2018-11-01 14:22:00 · 498 阅读 · 0 评论 -
Angular中的FormControl
需求:邮箱验证、密码验证、用户名验证、IP地址验证、手机号验证等方案:1、键值的形式控制:this.formGroup = new FormGroup({username: new FormControl('', [Validators.requried, Validators.pattern('…')]),password: new FormControl('',),em...原创 2019-11-21 11:11:48 · 2518 阅读 · 0 评论