逐步完成前后端服务器

This commit is contained in:
2025-09-09 15:00:30 +08:00
parent fcb09432e9
commit c7dfa1e9fc
2937 changed files with 1477567 additions and 0 deletions

View File

@ -0,0 +1,22 @@
import Eventful from '../core/Eventful';
import { VectorArray } from '../core/vector';
import Handler from '../Handler';
export default class HandlerDomProxy extends Eventful {
dom: HTMLElement;
painterRoot: HTMLElement;
handler: Handler;
private _localHandlerScope;
private _globalHandlerScope;
__lastTouchMoment: Date;
__pointerCapturing: boolean;
__mayPointerCapture: VectorArray;
constructor(dom: HTMLElement, painterRoot: HTMLElement);
dispose(): void;
setCursor(cursorStyle: string): void;
__togglePointerCapture(isPointerCapturing?: boolean): void;
}
export interface HandlerProxyInterface extends Eventful {
handler: Handler;
dispose: () => void;
setCursor: (cursorStyle?: string) => void;
}