g3-toolkit API Reference
Preparing search index...
react/src
AnnotationStore
Interface AnnotationStore
interface
AnnotationStore
{
delete
(
elementId
:
string
)
:
Promise
<
void
>
;
get
(
elementId
:
string
)
:
Promise
<
Annotation
|
null
>
;
list
()
:
Promise
<
Annotation
[]
>
;
set
(
elementId
:
string
,
annotation
:
Annotation
)
:
Promise
<
void
>
;
}
Index
Methods
delete
get
list
set
Methods
delete
delete
(
elementId
:
string
)
:
Promise
<
void
>
Parameters
elementId
:
string
Returns
Promise
<
void
>
get
get
(
elementId
:
string
)
:
Promise
<
Annotation
|
null
>
Parameters
elementId
:
string
Returns
Promise
<
Annotation
|
null
>
list
list
()
:
Promise
<
Annotation
[]
>
Returns
Promise
<
Annotation
[]
>
set
set
(
elementId
:
string
,
annotation
:
Annotation
)
:
Promise
<
void
>
Parameters
elementId
:
string
annotation
:
Annotation
Returns
Promise
<
void
>
Settings
Member Visibility
Protected
Inherited
Theme
OS
Light
Dark
On This Page
Methods
delete
get
list
set
g3-toolkit API Reference
Loading...