jbaysolutions/vue-grid-layout

Define resize array for the active handlers

Open

#513 geöffnet am 11. Dez. 2020

Auf GitHub ansehen
 (1 Kommentar) (0 Reaktionen) (0 zugewiesene Personen)JavaScript (6.777 Stars) (1.436 Forks)batch import
enhancementhelp wanted

Beschreibung

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