Search
Preparing search index...
The search index is not available
@wcrichto/vgrid
Options
All
Public
Public/Protected
All
Inherited
Externals
Only exported
Menu
Globals
"spatial/bbox"
BboxLabelView
Class BboxLabelView<SS>
Type parameters
SS
Hierarchy
Component
<
LabelProps
&
BboxLabelProps
,
BboxLabelState
>
BboxLabelView
Index
Constructors
constructor
Properties
context
props
refs
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
make_
interval
on
Key
Down
on
Key
Up
on
Mouse
Down
on
Mouse
Leave
on
Mouse
Move
on
Mouse
Up
render
reset_
state
set
State
should
Component
Update
Object literals
state
Constructors
constructor
new
Bbox
Label
View
(
props
:
Readonly
<
LabelProps
&
BboxLabelProps
>
)
:
BboxLabelView
new
Bbox
Label
View
(
props
:
LabelProps
&
BboxLabelProps
, context
:
any
)
:
BboxLabelView
Parameters
props:
Readonly
<
LabelProps
&
BboxLabelProps
>
Returns
BboxLabelView
Parameters
props:
LabelProps
&
BboxLabelProps
Optional
context:
any
Returns
BboxLabelView
Properties
context
context
:
any
props
props
:
Readonly
<
LabelProps
&
BboxLabelProps
>
&
Readonly
<
object
>
refs
refs
:
object
Type declaration
[
key:
string
]:
ReactInstance
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
<
LabelProps
&
BboxLabelProps
>
, nextContext
:
any
)
:
void
Parameters
nextProps:
Readonly
<
LabelProps
&
BboxLabelProps
>
nextContext:
any
Returns
void
Optional
UNSAFE_
component
Will
Update
UNSAFE_
component
Will
Update
(
nextProps
:
Readonly
<
LabelProps
&
BboxLabelProps
>
, nextState
:
Readonly
<
BboxLabelState
>
, nextContext
:
any
)
:
void
Parameters
nextProps:
Readonly
<
LabelProps
&
BboxLabelProps
>
nextState:
Readonly
<
BboxLabelState
>
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
<
LabelProps
&
BboxLabelProps
>
, prevState
:
Readonly
<
BboxLabelState
>
, snapshot
:
SS
)
:
void
Parameters
prevProps:
Readonly
<
LabelProps
&
BboxLabelProps
>
prevState:
Readonly
<
BboxLabelState
>
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
<
LabelProps
&
BboxLabelProps
>
, nextContext
:
any
)
:
void
Parameters
nextProps:
Readonly
<
LabelProps
&
BboxLabelProps
>
nextContext:
any
Returns
void
Optional
component
Will
Unmount
component
Will
Unmount
(
)
:
void
Returns
void
Optional
component
Will
Update
component
Will
Update
(
nextProps
:
Readonly
<
LabelProps
&
BboxLabelProps
>
, nextState
:
Readonly
<
BboxLabelState
>
, nextContext
:
any
)
:
void
Parameters
nextProps:
Readonly
<
LabelProps
&
BboxLabelProps
>
nextState:
Readonly
<
BboxLabelState
>
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
<
LabelProps
&
BboxLabelProps
>
, prevState
:
Readonly
<
BboxLabelState
>
)
:
SS
|
null
Parameters
prevProps:
Readonly
<
LabelProps
&
BboxLabelProps
>
prevState:
Readonly
<
BboxLabelState
>
Returns
SS
|
null
make_
interval
make_
interval
(
)
:
Interval
Returns
Interval
on
Key
Down
on
Key
Down
(
key
:
string
)
:
void
Parameters
key:
string
Returns
void
on
Key
Up
on
Key
Up
(
key
:
string
)
:
void
Parameters
key:
string
Returns
void
on
Mouse
Down
on
Mouse
Down
(
x
:
number
, y
:
number
)
:
void
Parameters
x:
number
y:
number
Returns
void
on
Mouse
Leave
on
Mouse
Leave
(
)
:
void
Returns
void
on
Mouse
Move
on
Mouse
Move
(
x
:
number
, y
:
number
)
:
void
Parameters
x:
number
y:
number
Returns
void
on
Mouse
Up
on
Mouse
Up
(
x
:
number
, y
:
number
)
:
void
Parameters
x:
number
y:
number
Returns
void
render
render
(
)
:
Element
Returns
Element
reset_
state
reset_
state
(
)
:
void
Returns
void
set
State
set
State<K>
(
state
:
function
|
null
|
S
|
object
, callback
:
undefined
|
function
)
:
void
Type parameters
K
:
keyof BboxLabelState
Parameters
state:
function
|
null
|
S
|
object
Optional
callback:
undefined
|
function
Returns
void
Optional
should
Component
Update
should
Component
Update
(
nextProps
:
Readonly
<
LabelProps
&
BboxLabelProps
>
, nextState
:
Readonly
<
BboxLabelState
>
, nextContext
:
any
)
:
boolean
Parameters
nextProps:
Readonly
<
LabelProps
&
BboxLabelProps
>
nextState:
Readonly
<
BboxLabelState
>
nextContext:
any
Returns
boolean
Object literals
state
state
:
object
mousedown_
point
mousedown_
point
:
null
= null
mousemove_
point
mousemove_
point
:
null
= null
shift_
held
shift_
held
:
false
= false
Globals
"spatial/bbox"
Bbox
Draw
View
Bbox
Label
View
constructor
context
props
refs
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
make_
interval
on
Key
Down
on
Key
Up
on
Mouse
Down
on
Mouse
Leave
on
Mouse
Move
on
Mouse
Up
render
reset_
state
set
State
should
Component
Update
state
Spatial
Type_
Bbox
Bbox
Label
Props
Bbox
Label
State
Point
Generated using
TypeDoc