Skip to main content

Interface: CornerRotationHandlesProps

Properties​

height​

• height: number

Height of the item. Needed to calculate offset from each corner.

Defined in​

packages/ida-framework/src/features/cornerRotationHandles/CornerRotationHandles.tsx:53


label​

• Optional label: ReactNode

Renders a label near the currently hovered corner handle.

Defined in​

packages/ida-framework/src/features/cornerRotationHandles/CornerRotationHandles.tsx:77


onChange​

• onChange: (rotation: number) => void

Type declaration​

▸ (rotation): void

Emits new rotation value when the user moves the handle.

Parameters​
NameType
rotationnumber
Returns​

void

Defined in​

packages/ida-framework/src/features/cornerRotationHandles/CornerRotationHandles.tsx:57


onEnd​

• Optional onEnd: (rotation: number) => void

Type declaration​

▸ (rotation): void

Emits when the user releases the handle.

Parameters​
NameType
rotationnumber
Returns​

void

Defined in​

packages/ida-framework/src/features/cornerRotationHandles/CornerRotationHandles.tsx:65


onInteractEnd​

• Optional onInteractEnd: () => void

Type declaration​

▸ (): void

Emits when the user does a mouseup/touchend/pointerup after interaction began.

Returns​

void

Defined in​

packages/ida-framework/src/features/cornerRotationHandles/CornerRotationHandles.tsx:73


onInteractStart​

• Optional onInteractStart: () => void

Type declaration​

▸ (): void

Emits when the user does a mousedown/touchstart/pointerdown on the handle.

Returns​

void

Defined in​

packages/ida-framework/src/features/cornerRotationHandles/CornerRotationHandles.tsx:69


onStart​

• Optional onStart: () => void

Type declaration​

▸ (): void

Emits when the user start dragging the handle.

Returns​

void

Defined in​

packages/ida-framework/src/features/cornerRotationHandles/CornerRotationHandles.tsx:61


width​

• width: number

Width of the item. Needed to calculate offset from each corner.

Defined in​

packages/ida-framework/src/features/cornerRotationHandles/CornerRotationHandles.tsx:49