16 lines
611 B
TypeScript
16 lines
611 B
TypeScript
import type { BackendFactory, DragDropManager } from 'dnd-core'
|
|
|
|
import { HTML5BackendImpl } from './HTML5BackendImpl.js'
|
|
import type { HTML5BackendContext, HTML5BackendOptions } from './types.js'
|
|
export { getEmptyImage } from './getEmptyImage.js'
|
|
export * as NativeTypes from './NativeTypes.js'
|
|
export type { HTML5BackendContext, HTML5BackendOptions } from './types.js'
|
|
|
|
export const HTML5Backend: BackendFactory = function createBackend(
|
|
manager: DragDropManager,
|
|
context?: HTML5BackendContext,
|
|
options?: HTML5BackendOptions,
|
|
): HTML5BackendImpl {
|
|
return new HTML5BackendImpl(manager, context, options)
|
|
}
|