jbaysolutions/vue-grid-layout

Define resize array for the active handlers

Open

#513 创建于 2020年12月11日

在 GitHub 查看
 (1 评论) (0 反应) (0 负责人)JavaScript (6,777 star) (1,436 fork)batch import
enhancementhelp wanted

描述

Describe the solution you'd like

I want to resize by dragging the border, But I don’t seem to see this API.

Describe alternatives you've considered

Something like this:

Define resize array for the active handlers:

this.resizeActive = ['leftTop', 'leftBottom', 'rightTop', 'rightBottom', 'left', 'right', 'top', 'bottom']

usage:

<grid-layout
  :resize-active="resizeActive"
/>

Additional context as shown:

resize-active-border.png

贡献者指南

Define resize array for the active handlers · jbaysolutions/vue-grid-layout#513 | Good First Issue