source: imaps-frontend/node_modules/react-use/lib/useFullscreen.d.ts@ d565449

main
Last change on this file since d565449 was d565449, checked in by stefan toskovski <stefantoska84@…>, 4 weeks ago

Update repo after prototype presentation

  • Property mode set to 100644
File size: 395 bytes
RevLine 
[d565449]1import { RefObject } from 'react';
2export interface FullScreenOptions {
3 video?: RefObject<HTMLVideoElement & {
4 webkitEnterFullscreen?: () => void;
5 webkitExitFullscreen?: () => void;
6 }>;
7 onClose?: (error?: Error) => void;
8}
9declare const useFullscreen: (ref: RefObject<Element>, enabled: boolean, options?: FullScreenOptions) => boolean;
10export default useFullscreen;
Note: See TracBrowser for help on using the repository browser.