FixHoverBehavior.d.ts 542 B

1234567891011121314151617
  1. /**
  2. * Correct hover targets in certain situations to improve diagram interaction.
  3. *
  4. */
  5. export default class FixHoverBehavior {
  6. static $inject: string[];
  7. /**
  8. * @param elementRegistry
  9. * @param eventBus
  10. * @param canvas
  11. */
  12. constructor(elementRegistry: ElementRegistry, eventBus: EventBus, canvas: Canvas);
  13. }
  14. type ElementRegistry = import('diagram-js/lib/core/ElementRegistry').default;
  15. type EventBus = import('diagram-js/lib/core/EventBus').default;
  16. type Canvas = import('diagram-js/lib/core/Canvas').default;