ngx-draggable-widget icon indicating copy to clipboard operation
ngx-draggable-widget copied to clipboard

Support Angular6

Open rene8a opened this issue 6 years ago • 1 comments

According to the code implemented for that directive: https://github.com/arup-banerjee/ngx-draggable-widget/blob/master/src/directives/NgWidgetContainer.ts#L13 It is using the old host property to listen the events from the host, but it should be using @HostBindings or @HostListeners. The expected behavior for this property it is to set the margin from the right to left to be able to resize the widget. You can see in the following lines: https://github.com/arup-banerjee/ngx-draggable-widget/blob/master/src/directives/NgWidget.ts#L271 Because of that the border-size is not affecting margin. That it is the only property that actually it is not working according what we have tested on a Angular 6 application

rene8a avatar Dec 05 '18 19:12 rene8a

Hi, I trying to update that packedge to Angular6. You can check my repository if you want on KAMAELUA/ngx-draggable-widget or as NPM packadge ngx-draggable-widget-kama

KAMAELUA avatar Feb 06 '19 15:02 KAMAELUA