ResizeBox
Telescopic frame components.
Basic usage
Basic usage of ResizeBox. By setting directions, you can specify which of the four sides can be stretched.
Stay organized, reduce stress, and accomplish personal and business goals with a daily schedule template.
V-model
Both width and height of ResizeBox support v-model.
Stay organized, reduce stress, and accomplish personal and business goals with a daily schedule template.
ResizeBox API
ResizeBox Attributes
Name | Description | Type | Default |
---|---|---|---|
width / v-model | Width | Number | - |
height / v-model | Height | Number | - |
component | The html tag of the telescopic box | String | div |
directions | Can be stretched side, there are up, down, left and right can be used | Array | ['right'] |
ResizeBox Events
Name | Description | Type |
---|---|---|
moving-start | Triggered when dragging starts | Function |
moving | Triggered when dragging | Function |
moving-end | Triggered when the drag ends | Function |