DragDropLayerManager Class

Beta

Drag/Drop Layer Manager class.

Methods

Name Description
getActiveLayer(): undefined | ComponentClass<DragLayerProps<any>, any> | FunctionComponent<DragLayerProps<any>> Static Gets the DragLayer component of the currently active type.  
getType(): string | undefined Static Gets the currently active drag type.  
registerTypeLayer(type: string, layer: React.ComponentType<DragLayerProps>): void Static Registers a new DragLayer for the given type.  
setType(type: string | undefined): void Static Sets the current type.  

Properties

Name Type Description
onDragDropLayerChangedEvent Accessor StaticReadOnly DragDropLayerChangedEvent    

Defined in

Last Updated: 08 January, 2020