### Changed Moved connector label moving logic from `default-tool` to connector view. #### Other infrastructure changes: - Gfx element view now can handles drag events - Added `context.preventDefault()` support to bypass built-in interactions in extension - Handle the pointer events in element view will bypass the built-in interactions automatically > The built-in interactions include element dragging, click selection, drag-to-scale operations, etc.
19 lines
597 B
TypeScript
19 lines
597 B
TypeScript
export type { GfxInteractivityContext } from './event.js';
|
|
export { InteractivityExtension } from './extension/base.js';
|
|
export { GfxViewEventManager } from './gfx-view-event-handler.js';
|
|
export { InteractivityIdentifier, InteractivityManager } from './manager.js';
|
|
export type {
|
|
DragExtensionInitializeContext,
|
|
DragInitializationOption,
|
|
ExtensionDragEndContext,
|
|
ExtensionDragMoveContext,
|
|
ExtensionDragStartContext,
|
|
} from './types/drag.js';
|
|
export type {
|
|
DragEndContext,
|
|
DragMoveContext,
|
|
DragStartContext,
|
|
GfxViewTransformInterface,
|
|
SelectedContext,
|
|
} from './types/view.js';
|