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
|
Rev | Line | |
---|
[d565449] | 1 | import { RefObject } from 'react';
|
---|
| 2 | export interface FullScreenOptions {
|
---|
| 3 | video?: RefObject<HTMLVideoElement & {
|
---|
| 4 | webkitEnterFullscreen?: () => void;
|
---|
| 5 | webkitExitFullscreen?: () => void;
|
---|
| 6 | }>;
|
---|
| 7 | onClose?: (error?: Error) => void;
|
---|
| 8 | }
|
---|
| 9 | declare const useFullscreen: (ref: RefObject<Element>, enabled: boolean, options?: FullScreenOptions) => boolean;
|
---|
| 10 | export default useFullscreen;
|
---|
Note:
See
TracBrowser
for help on using the repository browser.