angular-gridster2
angular-gridster2 copied to clipboard
How to implement data communication and DOM operation between gridster-item?
I want to implement data communication between two gridster-items. My business scenario is that I want a user
carrying information in a gridster to be dragged and dropped to a gridster-item with the function of a recycle bin, but how to communicate between two gridster-items to trigger the operation of deleting user information when dragging and dropping?
@ninggaoqian https://github.com/tiberiuzuld/angular-gridster2/blob/master/projects/angular-gridster2/src/lib/gridsterConfig.constant.ts dropOverItems: false, // enable drop items on top other item dropOverItemsCallback: undefined // callback on drop over another item allowMultiLayer: false,
These options might work for you.