Skip to content

resize

调整元素/组元素的包围盒大小。

安装插件

需要安装 resize 插件才能使用,点此访问 Github 仓库

sh
npm install @leafer-in/resize
sh
pnpm add @leafer-in/resize
sh
yarn add @leafer-in/resize
sh
bun add @leafer-in/resize

或通过 script 标签引入,使用全局变量 LeaferIN.resize 访问插件内部功能。

html
<script src="https://unpkg.com/@leafer-in/resize@1.5.3/dist/resize.min.js"></script>
html
<script src="https://unpkg.com/@leafer-in/resize@1.5.3/dist/resize.js"></script>

下一步

resize 元素 / 容器

Released under the MIT License.