UNPKG

diagram-js

Version:

A toolbox for displaying and modifying diagrams on the web

18 lines (17 loc) 588 B
/** * Snap during resize. * */ export default class ResizeSnapping { static $inject: string[]; /** * @param eventBus * @param snapping */ constructor(eventBus: EventBus, snapping: Snapping); initSnap(event: any): any; addSnapTargetPoints(snapPoints: any, shape: any, target: any, direction: any): any; getSnapTargets(shape: any, target: any): (import("../../model/Types.js").ShapeLike | import("../../model/Types.js").ConnectionLike)[]; } type EventBus = import("../../core/EventBus.js").default; type Snapping = import("./Snapping.js").default;