reppners / ngx-drag-drop

Angular directives using the native HTML Drag And Drop API
https://reppners.github.io/ngx-drag-drop/
BSD 3-Clause "New" or "Revised" License
299 stars 117 forks source link

Angular 16 - Standalone directives #151

Closed puranjayjain closed 9 months ago

puranjayjain commented 10 months ago

Is your feature request related to a problem? Please describe. Angular 16 now supports standalone directives which can be used inside hostdirectives or used separately.

Describe the solution you'd like This way of declaring and using them reduces the amount of code we need for download for each component.

Describe alternatives you've considered We right now do have an alternative of using the dndmodule inside the component directy.

ChristofFritz commented 9 months ago

You'll be pleased to hear that the directives are now standalone. The DndModule still exports them to not break existing applications that use the DndModule

puranjayjain commented 9 months ago

Thanks a lot @ChristofFritz