UNPKG

@vue-pdf-viewer/viewer

Version:

The PDF Viewer component for Vue 3 and Nuxt

8 lines (7 loc) 293 B
import { Ref } from 'vue'; import { RotateEvent } from '..'; declare const useRotation: (currentRotation: Ref<number>, rotateCallback?: ((event: RotateEvent) => void) | undefined) => { onRotateClockwise: () => void; onRotateCounterclockwise: () => void; }; export default useRotation;