修改描述文本

This commit is contained in:
Larry 2024-03-14 17:12:54 +08:00
parent d400628b29
commit adf55104bc
3 changed files with 16 additions and 31 deletions

View File

@ -4,19 +4,7 @@
[简体中文](./readme.md) | English
autofit.js is a tool for making your PC projects responsive to the screen. Its principle is very simple: based on scaling with equal proportions, it increases the width or height to the right or bottom to achieve a full-screen effect. Using autofit.js does not compress or stretch elements; it simply sets the width and height of the container.
| Date | Version | Description |
| ---------- | ------- | ------------------------------------------------------------ |
| 2023-04-16 | v1.0.0 | First version released 🥳 |
| 2023-04-23 | v1.0.9 | Fixed issue with invalidation after maximize/F11 |
| 2023-05-12 | v1.1.2 | Added ignore element feature (offset for map hotspots)👍 |
| 2023-05-22 | v2.0.0 | Added option to disable autofit's impact |
| 2023-05-30 | v2.0.2 | Improved compatibility, added error prompts |
| 2023-06-07 | v2.0.3 | Added delay, transition, and chart adaptation |
| 2023-06-19 | v2.0.5 | Fixed issue with multiple ignores not working, delay and transition are disabled by default |
| 2023-07-04 | v2.0.6 | Unreleased - Fixed issue with abnormal off behavior, added undefined ts parameter |
| 2023-07-11 | v3.0.0 | Improved stability and usability |
autofit.js is a tool for making your PC projects responsive to the screen. Its principle is very simple: based on scaling with equal proportions, it increases the width or height to the right or bottom to achieve a full-screen effect. Using autofit.js does not compress or stretch elements; it simply sets the width and height of the container.
### v3.0.0 New Version Introduction

View File

@ -21,24 +21,6 @@
autofit.js是一个可以让你的PC项目自适应屏幕的工具其原理非常简单即在scale等比缩放的基础上向右或向下增加了宽度或高度以达到充满全屏的效果使用autofit.js不会挤压、拉伸元素它只是单纯的设置了容器的宽高。
| 时间 | 版本 | 描述 |
| ---------- | ------ | ------------------------------------------------------------ |
| 2023-04-16 | v1.0.0 | 第一个版本发布 🥳 |
| 2023-04-23 | v1.0.9 | 解决最大化、f11全屏后失效的问题 |
| 2023-05-12 | v1.1.2 | 新增忽略元素功能(地图热区事件偏移解决)👍 |
| 2023-05-22 | v2.0.0 | 新增关闭autofit影响选项 |
| 2023-05-30 | v2.0.2 | 增加兼容性,新增错误提示 |
| 2023-06-07 | v2.0.3 | 新增延迟、过渡、图表适配 |
| 2023-06-19 | v2.0.5 | 修复多个ignore不生效的问题默认关闭延迟和过渡 |
| 2023-07-04 | v2.0.6 | 未发布-修复无法正常off的问题新增ts参数undefined |
| 2023-07-11 | v3.0.0 | 提升稳定性,提升易用性 |
| 2023-11-14 | v3.0.6 | 新增 isAutofitRunnig 布尔值,可用于判断 autofit.js 是否正常运行、新增chrome 117+ 适配 |
| 2023-12-05 | v3.0.7 | 新增 limit 参数,缩放保留两位小数 |
### 引入
```js

15
updateLogs.md Normal file
View File

@ -0,0 +1,15 @@
| 时间 | 版本 | 描述 |
| ---------- | ------ | ------------------------------------------------------------ |
| 2023-04-16 | v1.0.0 | 第一个版本发布 🥳 |
| 2023-04-23 | v1.0.9 | 解决最大化、f11全屏后失效的问题 |
| 2023-05-12 | v1.1.2 | 新增忽略元素功能(地图热区事件偏移解决)👍 |
| 2023-05-22 | v2.0.0 | 新增关闭autofit影响选项 |
| 2023-05-30 | v2.0.2 | 增加兼容性,新增错误提示 |
| 2023-06-07 | v2.0.3 | 新增延迟、过渡、图表适配 |
| 2023-06-19 | v2.0.5 | 修复多个ignore不生效的问题默认关闭延迟和过渡 |
| 2023-07-04 | v2.0.6 | 未发布-修复无法正常off的问题新增ts参数undefined |
| 2023-07-11 | v3.0.0 | 提升稳定性,提升易用性 |
| 2023-11-14 | v3.0.6 | 新增 isAutofitRunnig 布尔值,可用于判断 autofit.js 是否正常运行、新增chrome 117+ 适配 |
| 2023-12-05 | v3.0.7 | 新增 limit 参数,缩放保留两位小数 |
| 2024-4 | v3.1.0 | 回放参数新增 保持纵横比参数 |