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:
1.1 KB
|
Rev | Line | |
---|
[d565449] | 1 | /// <reference types="react" />
|
---|
| 2 | declare const useVideo: (elOrProps: import("./factory/createHTMLMediaHook").HTMLMediaProps | import("react").ReactElement<import("./factory/createHTMLMediaHook").HTMLMediaProps, string | ((props: any) => import("react").ReactElement<any, string | any | (new (props: any) => import("react").Component<any, any, any>)> | null) | (new (props: any) => import("react").Component<any, any, any>)>) => readonly [import("react").ReactElement<import("./factory/createHTMLMediaHook").HTMLMediaProps & {
|
---|
| 3 | ref?: import("react").MutableRefObject<HTMLVideoElement | null> | undefined;
|
---|
| 4 | }, string | ((props: any) => import("react").ReactElement<any, string | any | (new (props: any) => import("react").Component<any, any, any>)> | null) | (new (props: any) => import("react").Component<any, any, any>)>, import("./factory/createHTMLMediaHook").HTMLMediaState, {
|
---|
| 5 | play: () => Promise<void> | undefined;
|
---|
| 6 | pause: () => void;
|
---|
| 7 | seek: (time: number) => void;
|
---|
| 8 | volume: (volume: number) => void;
|
---|
| 9 | mute: () => void;
|
---|
| 10 | unmute: () => void;
|
---|
| 11 | }, import("react").MutableRefObject<HTMLVideoElement | null>];
|
---|
| 12 | export default useVideo;
|
---|
Note:
See
TracBrowser
for help on using the repository browser.