React Beautiful DnD

1 flashcards · Programming Languages · by lakesare

  1. droppableId VS type?

    droppableId: https://github.com/atlassian/react-beautiful-dnd/blob/master/docs/guides/identifiers.md type: A TypeId(string) that can be used to simply accept only the specified class of Draggable. Draggables always inherit type from the Droppable they are defined in. For example, if you use the type PERSON then it will only allow Draggables of type PERSON to be dropped on itself. Draggables of type TASK would not be able to be dropped on a Droppable with type PERSON. If no type is provided, it…