How to select the dropped data UI based on the value present in the dropped item
问题 Hi I am using angular 7 drag and drop feature. I am following this link https://stackblitz.com/edit/angular-material-drag-copy?file=app%2Fapp.component.html I want to check the data which is being dropped and based on the value i need to set whether it is a mat expansion panel or mat list. which is to be shown in the ui. I am using ngrepeat for generating the list items in both the drag and dropped place. Basically I want to decide the UI element which is to used based on the value that is