mirror of
https://github.com/toeverything/AFFiNE.git
synced 2026-07-25 14:28:51 +08:00
11 lines
461 B
TypeScript
11 lines
461 B
TypeScript
import { DragPreview } from './components/drag-preview';
|
|
import { DropIndicator } from './components/drop-indicator';
|
|
import { AFFINE_DRAG_HANDLE_WIDGET } from './consts';
|
|
import { AffineDragHandleWidget } from './drag-handle';
|
|
|
|
export function effects() {
|
|
customElements.define('affine-drag-preview', DragPreview);
|
|
customElements.define('affine-drop-indicator', DropIndicator);
|
|
customElements.define(AFFINE_DRAG_HANDLE_WIDGET, AffineDragHandleWidget);
|
|
}
|