vfit 1.0.5 → 1.0.6
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +4 -0
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -86,3 +86,7 @@ app.use(createFitScale({ target: '#app', designHeight: 1080, designWidth: 1920,
|
|
|
86
86
|
- 使用 `unit='px'` 时,`top/left` 随缩放变化,`right/bottom` 保持实际像素距离不变
|
|
87
87
|
- 使用 `right` 时,缩放原点为右上角;同时设置 `bottom` 与 `right` 时为右下角
|
|
88
88
|
- 首次接入时,务必引入样式:`import 'vfit/style.css'`
|
|
89
|
+
|
|
90
|
+
## React 支持
|
|
91
|
+
|
|
92
|
+
该库的 React 版本请访问 [vfit-react](https://www.npmjs.com/package/vfit-react)。
|