随笔分类 -  ☝UdemyTop1 JavaScript Course☝

摘要:1. setter & getter // ES6 Class class PersonCl { constructor(fullName, birthYear) { this.fullName = fullName; this.birthYear = birthYear; } // 类里面的方法可 阅读全文
posted @ 2024-10-31 10:15 一个甜橙子 阅读(2) 评论(0) 推荐(0) 编辑
摘要:在DOMRect对象中,所有参数的解释如下: x 和 y: 元素相对于视口左上角的水平和垂直坐标。这与 left 和 top 是等价的。 left 和 top: 元素的左边缘和上边缘相对于视口左上角的距离。 right 和 bottom: 元素的右边缘和底边相对于视口左上角的距离。 width 和 阅读全文
posted @ 2024-10-17 11:16 一个甜橙子 阅读(7) 评论(0) 推荐(0) 编辑
摘要:![](https://img2024.cnblogs.com/blog/1876332/202410/1876332-20241014150934193-1470254121.png) 阅读全文
posted @ 2024-10-14 15:09 一个甜橙子 阅读(3) 评论(0) 推荐(0) 编辑

点击右上角即可分享
微信分享提示