05 2018 档案

摘要:1. 字符串模板 2. 箭头函数 3. 变量 let 与 var ,let定义在 for{ let name = "jay"; } 外面取不到,var 可以取得 const 不可变 4. 展开 function hello( name1, name2){ console.log(name1, nam 阅读全文
posted @ 2018-05-27 02:05 大耳朵小虎 阅读(187) 评论(0) 推荐(0)
摘要:1.) react 中 <input className="inp3" placeholder="密码" type="password" onChange={this.changepassword.bind(this)} onFocus={this.FocusFN.bind(this)} value 阅读全文
posted @ 2018-05-24 14:59 大耳朵小虎 阅读(102) 评论(0) 推荐(0)
摘要:1 阅读全文
posted @ 2018-05-22 21:16 大耳朵小虎 阅读(103) 评论(0) 推荐(0)
摘要:1.键盘变搜索 1.) 在form 上加action="#", 2.)input type=search, 3.)此时会提交到 #,需要再添加一个input display=none 2.input自定义属性 <input type="text" data-decimal="n3" /> 此时想取d 阅读全文
posted @ 2018-05-15 11:44 大耳朵小虎 阅读(213) 评论(0) 推荐(0)