Drag and drop

Vilaggio asked 6 years ago

Expected behavior

Just trying to create a drag and drop component. Do they always require JS or TS? I tried the code below but nothing rendered.

Actual behavior Nothing

Resources (screenshots, code snippets etc.)


pagner answered 6 years ago

You can use the Angular CDK library. It contains drag and drop functionality without css. I am using it with the bootstrap angular mdb css.

https://material.angular.io/cdk/drag-drop/overview


Vilaggio commented 6 years ago

Thank you for the help!


Arkadiusz Idzikowski staff answered 6 years ago

Drag and drop component will definitely some TS code because you need to handle mouse/touch events.


Vilaggio commented 6 years ago

Thank you for the help!


Vilaggio answered 6 years ago

Thank you for the help!


Please insert min. 20 characters.

FREE CONSULTATION

Hire our experts to build a dedicated project. We'll analyze your business requirements, for free.

Status

Resolved

Specification of the issue
  • User: Free
  • Premium support: No
  • Technology: MDB Angular
  • MDB Version: 7.4.2
  • Device: PC
  • Browser: Chrome
  • OS: Win10
  • Provided sample code: No
  • Provided link: No
Tags