angular-grid-layout icon indicating copy to clipboard operation
angular-grid-layout copied to clipboard

Add all other resize options (now is only available 'se-resize').

Open leaporush opened this issue 1 year ago • 3 comments

Hi,

I work on Hebrew website (rtl) I realy need the option to resize from the south west corner of the grid item When I'll be able to do it?

Thank you.

leaporush avatar Jun 01 '23 06:06 leaporush

Hi @leaporush !

We should implement all other resize options, something like:

// Defines which resize handles should be rendered
// Allows for any combination of:
// 's' - South handle (bottom-center)
// 'w' - West handle (left-center)
// 'e' - East handle (right-center)
// 'n' - North handle (top-center)
// 'sw' - Southwest handle (bottom-left)
// 'nw' - Northwest handle (top-left)
// 'se' - Southeast handle (bottom-right)
// 'ne' - Northeast handle (top-right)
@Input() resizeHandles: Array<'s' | 'w' | 'e' | 'n' | 'sw' | 'nw' | 'se' | 'ne'> = ['se'],

This property should go into the KtdGridItemComponent.

If you need it, I suggest you to start its development since I don't know when I will be able to do it. I can give you some guidance if you join the discord !

llorenspujol avatar Jun 02 '23 07:06 llorenspujol

@llorenspujol would you guide me for adding resize options?

MussaratAziz avatar Oct 05 '23 00:10 MussaratAziz

@MussaratAziz I created a channel called 'resize-handles' on Discord and provided a brief explanation of how the resizing is currently implemented, as well as which parts need to be changed

llorenspujol avatar Oct 12 '23 14:10 llorenspujol