Search
Preparing search index...
The search index is not available
@wcrichto/vgrid
Options
All
Public
Public/Protected
All
Inherited
Externals
Only exported
Menu
Globals
"video"
Video
Class Video<SS>
Type parameters
SS
Hierarchy
Component
<
VideoProps
,
object
>
Video
Index
Constructors
constructor
Properties
context
props
refs
unmount_
callbacks
video
context
Type
Methods
UNSAFE_
component
Will
Mount
UNSAFE_
component
Will
Receive
Props
UNSAFE_
component
Will
Update
component
Did
Catch
component
Did
Mount
component
Did
Update
component
Will
Mount
component
Will
Receive
Props
component
Will
Unmount
component
Will
Update
force
Update
get
Snapshot
Before
Update
on
Loaded
on
Loaded
Metadata
on
Time
Update
pause
play
render
set
State
should
Component
Update
toggle
Object literals
state
Constructors
constructor
new
Video
(
props
:
VideoProps
)
:
Video
Parameters
props:
VideoProps
Returns
Video
Properties
context
context
:
any
props
props
:
Readonly
<
VideoProps
>
&
Readonly
<
object
>
refs
refs
:
object
Type declaration
[
key:
string
]:
ReactInstance
unmount_
callbacks
unmount_
callbacks
:
function
[]
video
video
:
any
Static
Optional
context
Type
context
Type
:
Context
<
any
>
Methods
Optional
UNSAFE_
component
Will
Mount
UNSAFE_
component
Will
Mount
(
)
:
void
Returns
void
Optional
UNSAFE_
component
Will
Receive
Props
UNSAFE_
component
Will
Receive
Props
(
nextProps
:
Readonly
<
VideoProps
>
, nextContext
:
any
)
:
void
Parameters
nextProps:
Readonly
<
VideoProps
>
nextContext:
any
Returns
void
Optional
UNSAFE_
component
Will
Update
UNSAFE_
component
Will
Update
(
nextProps
:
Readonly
<
VideoProps
>
, nextState
:
Readonly
<
object
>
, nextContext
:
any
)
:
void
Parameters
nextProps:
Readonly
<
VideoProps
>
nextState:
Readonly
<
object
>
nextContext:
any
Returns
void
Optional
component
Did
Catch
component
Did
Catch
(
error
:
Error
, errorInfo
:
ErrorInfo
)
:
void
Parameters
error:
Error
errorInfo:
ErrorInfo
Returns
void
component
Did
Mount
component
Did
Mount
(
)
:
void
Returns
void
component
Did
Update
component
Did
Update
(
)
:
void
Returns
void
Optional
component
Will
Mount
component
Will
Mount
(
)
:
void
Returns
void
Optional
component
Will
Receive
Props
component
Will
Receive
Props
(
nextProps
:
Readonly
<
VideoProps
>
, nextContext
:
any
)
:
void
Parameters
nextProps:
Readonly
<
VideoProps
>
nextContext:
any
Returns
void
component
Will
Unmount
component
Will
Unmount
(
)
:
void
Returns
void
Optional
component
Will
Update
component
Will
Update
(
nextProps
:
Readonly
<
VideoProps
>
, nextState
:
Readonly
<
object
>
, nextContext
:
any
)
:
void
Parameters
nextProps:
Readonly
<
VideoProps
>
nextState:
Readonly
<
object
>
nextContext:
any
Returns
void
force
Update
force
Update
(
callback
:
undefined
|
function
)
:
void
Parameters
Optional
callback:
undefined
|
function
Returns
void
Optional
get
Snapshot
Before
Update
get
Snapshot
Before
Update
(
prevProps
:
Readonly
<
VideoProps
>
, prevState
:
Readonly
<
object
>
)
:
SS
|
null
Parameters
prevProps:
Readonly
<
VideoProps
>
prevState:
Readonly
<
object
>
Returns
SS
|
null
on
Loaded
on
Loaded
(
video
:
any
)
:
void
Parameters
video:
any
Returns
void
on
Loaded
Metadata
on
Loaded
Metadata
(
video
:
any
)
:
void
Parameters
video:
any
Returns
void
on
Time
Update
on
Time
Update
(
video
:
any
)
:
void
Parameters
video:
any
Returns
void
pause
pause
(
)
:
void
Returns
void
play
play
(
)
:
void
Returns
void
render
render
(
)
:
Element
Returns
Element
set
State
set
State<K>
(
state
:
function
|
null
|
S
|
object
, callback
:
undefined
|
function
)
:
void
Type parameters
K
:
keyof object
Parameters
state:
function
|
null
|
S
|
object
Optional
callback:
undefined
|
function
Returns
void
Optional
should
Component
Update
should
Component
Update
(
nextProps
:
Readonly
<
VideoProps
>
, nextState
:
Readonly
<
object
>
, nextContext
:
any
)
:
boolean
Parameters
nextProps:
Readonly
<
VideoProps
>
nextState:
Readonly
<
object
>
nextContext:
any
Returns
boolean
toggle
toggle
(
)
:
void
Returns
void
Object literals
state
state
:
object
loaded
loaded
:
boolean
= false
Globals
"video"
Video
constructor
context
props
refs
unmount_
callbacks
video
context
Type
UNSAFE_
component
Will
Mount
UNSAFE_
component
Will
Receive
Props
UNSAFE_
component
Will
Update
component
Did
Catch
component
Did
Mount
component
Did
Update
component
Will
Mount
component
Will
Receive
Props
component
Will
Unmount
component
Will
Update
force
Update
get
Snapshot
Before
Update
on
Loaded
on
Loaded
Metadata
on
Time
Update
pause
play
render
set
State
should
Component
Update
toggle
state
Video
Props
Generated using
TypeDoc