dom-transform-tool
v0.4.1
Published
Provides rich APIs to implement element resizing, rotation, scaling and other operations
Readme
dom-transform-tool
专用于操作 DOM 元素节点变化的工具包,提供了丰富的 API 来实现元素的调整位置、尺寸、旋转、缩放等功能。
当前开源的元素变化操作组件有不少,但其功能样式并不一定符合每个开发人员的需求,那么不如抽离其核心的操作功能作为一个工具包来使用。开发人员可以基于该工具包来开发自己的元素变化组件。
安装
使用 npm
npm install dom-transform-tool使用 yarn
yarn add dom-transform-tool使用 pnpm
pnpm add dom-transform-tool