jbaysolutions/vue-grid-layout

Define resize array for the active handlers

Aberta

#513 aberto em 11 de dez. de 2020

 (1 comentário) (0 reação) (0 responsável)JavaScript (1.436 forks)batch import
enhancementhelp wanted

Métricas do repositório

Stars
 (6.777 estrelas)
Métricas de merge de PR
 (Nenhuma PRs mesclada em 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

Guia do colaborador