jbaysolutions/vue-grid-layout

Define resize array for the active handlers

Open

#513 ouverte le 11 déc. 2020

Voir sur GitHub
 (1 commentaire) (0 réactions) (0 assignés)JavaScript (6 777 stars) (1 436 forks)batch import
enhancementhelp wanted

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

Guide contributeur