UNPKG

nice-ui

Version:

React design system, components, and utilities

19 lines (18 loc) 650 B
import * as React from 'react'; import type { AnchorPoint, AnchorPointComputeSpec, RefPopupToggle } from './types'; export declare class AnchorPointHandle implements AnchorPoint { spec: AnchorPointComputeSpec; static fromPoint: (point: AnchorPoint) => AnchorPointHandle; x: AnchorPoint['x']; y: AnchorPoint['y']; dx: AnchorPoint['dx']; dy: AnchorPoint['dy']; toggle: HTMLElement | null; drop: HTMLElement | null; constructor(spec?: AnchorPointComputeSpec); readonly ref: RefPopupToggle; readonly refDrop: RefPopupToggle; style(): React.CSSProperties; get(): AnchorPoint; maxHeight(): number; }