Search
Preparing search index...
The search index is not available
@wcrichto/vgrid
Options
All
Public
Public/Protected
All
Inherited
Externals
Only exported
Menu
Globals
"timeline_track"
Ticks
Class Ticks<SS>
Type parameters
SS
Hierarchy
Component
<
TicksProps
,
__type
>
Ticks
Index
Constructors
constructor
Properties
canvas_
ref
context
props
refs
state
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
render
render_
canvas
set
State
should
Component
Update
Constructors
constructor
new
Ticks
(
props
:
TicksProps
)
:
Ticks
Parameters
props:
TicksProps
Returns
Ticks
Properties
Private
canvas_
ref
canvas_
ref
:
RefObject
<
HTMLCanvasElement
>
context
context
:
any
props
props
:
Readonly
<
TicksProps
>
&
Readonly
<
object
>
refs
refs
:
object
Type declaration
[
key:
string
]:
ReactInstance
state
state
:
Readonly
<
__type
>
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
<
TicksProps
>
, nextContext
:
any
)
:
void
Parameters
nextProps:
Readonly
<
TicksProps
>
nextContext:
any
Returns
void
Optional
UNSAFE_
component
Will
Update
UNSAFE_
component
Will
Update
(
nextProps
:
Readonly
<
TicksProps
>
, nextState
:
Readonly
<
__type
>
, nextContext
:
any
)
:
void
Parameters
nextProps:
Readonly
<
TicksProps
>
nextState:
Readonly
<
__type
>
nextContext:
any
Returns
void
Optional
component
Did
Catch
component
Did
Catch
(
error
:
Error
, errorInfo
:
ErrorInfo
)
:
void
Parameters
error:
Error
errorInfo:
ErrorInfo
Returns
void
Optional
component
Did
Mount
component
Did
Mount
(
)
:
void
Returns
void
Optional
component
Did
Update
component
Did
Update
(
prevProps
:
Readonly
<
TicksProps
>
, prevState
:
Readonly
<
__type
>
, snapshot
:
SS
)
:
void
Parameters
prevProps:
Readonly
<
TicksProps
>
prevState:
Readonly
<
__type
>
Optional
snapshot:
SS
Returns
void
Optional
component
Will
Mount
component
Will
Mount
(
)
:
void
Returns
void
Optional
component
Will
Receive
Props
component
Will
Receive
Props
(
nextProps
:
Readonly
<
TicksProps
>
, nextContext
:
any
)
:
void
Parameters
nextProps:
Readonly
<
TicksProps
>
nextContext:
any
Returns
void
Optional
component
Will
Unmount
component
Will
Unmount
(
)
:
void
Returns
void
Optional
component
Will
Update
component
Will
Update
(
nextProps
:
Readonly
<
TicksProps
>
, nextState
:
Readonly
<
__type
>
, nextContext
:
any
)
:
void
Parameters
nextProps:
Readonly
<
TicksProps
>
nextState:
Readonly
<
__type
>
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
<
TicksProps
>
, prevState
:
Readonly
<
__type
>
)
:
SS
|
null
Parameters
prevProps:
Readonly
<
TicksProps
>
prevState:
Readonly
<
__type
>
Returns
SS
|
null
render
render
(
)
:
Element
Returns
Element
render_
canvas
render_
canvas
(
canvas
:
HTMLCanvasElement
, ctx
:
CanvasRenderingContext2D
)
:
void
Parameters
canvas:
HTMLCanvasElement
ctx:
CanvasRenderingContext2D
Returns
void
set
State
set
State<K>
(
state
:
function
|
null
|
S
|
object
, callback
:
undefined
|
function
)
:
void
Type parameters
K
:
keyof __type
Parameters
state:
function
|
null
|
S
|
object
Optional
callback:
undefined
|
function
Returns
void
Optional
should
Component
Update
should
Component
Update
(
nextProps
:
Readonly
<
TicksProps
>
, nextState
:
Readonly
<
__type
>
, nextContext
:
any
)
:
boolean
Parameters
nextProps:
Readonly
<
TicksProps
>
nextState:
Readonly
<
__type
>
nextContext:
any
Returns
boolean
Globals
"timeline_
track"
Ticks
constructor
canvas_
ref
context
props
refs
state
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
render
render_
canvas
set
State
should
Component
Update
Timeline
Timeline
Bounds
Timeline
Controls
Timeline
Navigator
Timeline
Overview
Timeline
Row
Timeline
Track
Drag
Timeline
State
Ticks
Props
Timeline
Controls
Props
Timeline
Navigator
Props
Timeline
Overview
Props
Timeline
Props
Timeline
Row
Props
Timeline
State
Timeline
Track
Props
canvas_
component
time_
to_
x
x_
to_
time
Constants
Generated using
TypeDoc