mirror of
https://github.com/toeverything/AFFiNE.git
synced 2026-02-19 15:26:59 +08:00
chore: merge blocksuite source code (#9213)
This commit is contained in:
17
blocksuite/affine/widget-scroll-anchoring/src/effects.ts
Normal file
17
blocksuite/affine/widget-scroll-anchoring/src/effects.ts
Normal file
@@ -0,0 +1,17 @@
|
||||
import {
|
||||
AFFINE_SCROLL_ANCHORING_WIDGET,
|
||||
AffineScrollAnchoringWidget,
|
||||
} from './scroll-anchoring.js';
|
||||
|
||||
export function effects() {
|
||||
customElements.define(
|
||||
AFFINE_SCROLL_ANCHORING_WIDGET,
|
||||
AffineScrollAnchoringWidget
|
||||
);
|
||||
}
|
||||
|
||||
declare global {
|
||||
interface HTMLElementTagNameMap {
|
||||
[AFFINE_SCROLL_ANCHORING_WIDGET]: AffineScrollAnchoringWidget;
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user