jbaysolutions/vue-grid-layout

Define resize array for the active handlers

开放

#513 创建于 2020年12月11日

 (1 条评论) (0 个反应) (0 位负责人)JavaScript (1,436 个派生)batch import
enhancementhelp wanted

仓库指标

星标
 (6,777 个星标)
PR 合并指标
 (30 天内没有已合并 PR)

描述

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

贡献者指南