# v-resize
**Repository Path**: wupeng0725/v-resize
## Basic Information
- **Project Name**: v-resize
- **Description**: 自定义拖拉指令
- **Primary Language**: Unknown
- **License**: Not specified
- **Default Branch**: master
- **Homepage**: None
- **GVP Project**: No
## Statistics
- **Stars**: 0
- **Forks**: 0
- **Created**: 2023-12-04
- **Last Updated**: 2023-12-05
## Categories & Tags
**Categories**: Uncategorized
**Tags**: None
## README
# Resize

## 支持多列拖拉指令。
## 环境:vue3+ts
## 使用
安装`npm i @king0725/resize`
在`main.ts`中引入:
```ts
import vResize from '@king0725/resize'
...
app.use(vResize)
...
```
## 参数:
1. min为最小宽度/高度
2. hoverColor悬浮颜色
3. lineColor线的颜色,用于复选后恢复线的初始颜色
4. showHoverColor是否鼠标光标悬浮就展示颜色,默认拖拽过程中才改变颜色
5. direction 拖拽的方向,horizontal/vertical,默认值horizontal水平
## 示例:
### 示例1:水平方向(默认)

代码如下:
```
```
### 示例2:垂直方向:

代码如下:
```
```