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

Last Updated: 12 June, 2024