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

貢獻者指南