Files
AFFiNE-Mirror/blocksuite/affine/widget-remote-selection/src/effects.ts
T
2024-12-28 08:47:09 +00:00

18 lines
488 B
TypeScript

import { AFFINE_DOC_REMOTE_SELECTION_WIDGET } from './doc';
import { AffineDocRemoteSelectionWidget } from './doc/doc-remote-selection';
import {
AFFINE_EDGELESS_REMOTE_SELECTION_WIDGET,
EdgelessRemoteSelectionWidget,
} from './edgeless';
export function effects() {
customElements.define(
AFFINE_DOC_REMOTE_SELECTION_WIDGET,
AffineDocRemoteSelectionWidget
);
customElements.define(
AFFINE_EDGELESS_REMOTE_SELECTION_WIDGET,
EdgelessRemoteSelectionWidget
);
}