jbaysolutions/vue-grid-layout

Define resize array for the active handlers

Open

#513 opened on Dec 11, 2020

View on GitHub
 (1 comment) (0 reactions) (0 assignees)JavaScript (1,436 forks)batch import
enhancementhelp wanted

Repository metrics

Stars
 (6,777 stars)
PR merge metrics
 (No merged PRs in 30d)

Description

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

Contributor guide