UNPKG

@vue-pdf-viewer/viewer

Version:

A vue-pdf-viewer component for Vue and Nuxt. Suitable for vue-pdf document.

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;