Skip to main content

Interface: RotationHandleProps

Properties​

label​

• Optional label: ReactNode

Renders a label on the left side of the rotation handle.

Defined in​

packages/ida-framework/src/features/rotationHandle/RotationHandle.tsx:87


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/rotationHandle/RotationHandle.tsx:67


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/rotationHandle/RotationHandle.tsx:75


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/rotationHandle/RotationHandle.tsx:83


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/rotationHandle/RotationHandle.tsx:79


onStart​

• Optional onStart: () => void

Type declaration​

▸ (): void

Emits when the user start dragging the handle.

Returns​

void

Defined in​

packages/ida-framework/src/features/rotationHandle/RotationHandle.tsx:71