API Reference > ui-framework > DragDrop > DragDropLayerManager > setType setType MethodStatic Sets the current type. setType(type: undefined | string): void note The current drag type is set automatically when a drag starts. Manually setting type before a drag will be overridden by DragDropManager. Parameter Type Description type undefined | string Returns - void Defined in ui/framework/src/ui-framework/dragdrop/DragDropLayerManager.tsx Line 63 Last Updated: 11 June, 2024