jbaysolutions/vue-grid-layout

Define resize array for the active handlers

Open

#513 aperta il 11 dic 2020

Vedi su GitHub
 (1 commento) (0 reazioni) (0 assegnatari)JavaScript (1436 fork)batch import
enhancementhelp wanted

Metriche repository

Star
 (6777 star)
Metriche merge PR
 (Nessuna PR mergiata in 30 g)

Descrizione

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

Guida contributor