Moveable: Angular Groupable Handbook Issue and about single target, group isn't working

Created on 4 Feb 2020  路  2Comments  路  Source: daybrush/moveable

Environments

  • Framework name: Angular
  • Framework version: v8
  • Moveable Component version: 0.9.4.0
  • Testable Address(optional):

Description


Hi, @daybrush
Thanks for your amazing moveable component.
In my thought, there are a little issue in Handbook. Maybe, I think, remove "on" is right.

image

I have used your example code without change.
But, if there is only a target, then group function doesn't work.
I think, a target is also target array with length 1, but it is not working.
If target array length is over than 2, then it is working.

Grouping_issue

Hope your kind solution to solve this issue.
Many Thanks

Angular question solved

Most helpful comment

@Xumochuan

dragGroup is an event that is triggered when there are two or more targets.

Use the drag event when there is only one target.

https://github.com/daybrush/moveable/blob/master/handbook/handbook.md#angular-example

All 2 comments

@Xumochuan

dragGroup is an event that is triggered when there are two or more targets.

Use the drag event when there is only one target.

https://github.com/daybrush/moveable/blob/master/handbook/handbook.md#angular-example

Thanks, @daybrush

Was this page helpful?
0 / 5 - 0 ratings

Related issues

wassgha picture wassgha  路  6Comments

scottsquirespix picture scottsquirespix  路  5Comments

Xumochuan picture Xumochuan  路  6Comments

pistell picture pistell  路  4Comments

darsodango picture darsodango  路  3Comments