08 2018 档案
摘要:我的想法: 1.首先给移动的元素一个绝对定位,position: absolute, 通过top和left来实现元素的移动。 2. 基本过程:(1)当鼠标的左键按下去时,给元素添加onmousemove, onmouseleave(鼠标不在元素上时, 移除onmousemove事件), onmous
阅读全文
摘要:Integer 和 int 的区别(包装类型和基本数据类型的区别); 1.默认值: int 默认值为 0; Integer 的默认值为null;2.包装类中提供了该类型相关的很多算法操作方法。 static String toBinaryString(int i); // 把十进制转换成二进制 st
阅读全文
摘要:页面文件: <form *ngFor="let form of list" [formGroup]="form"> <div class="form-group"> <label>姓名:</label> <input style="color: #000;" type="text" formCont
阅读全文