Preparing search index...
The search index is not available
@pictofit/public-types
@pictofit/public-types
index
AvatarEditorApi
Interface AvatarEditorApi
interface
AvatarEditorApi
{
getAvatar
:
(
(
)
=>
Promise
<
null
|
IAssetWrapper
>
)
;
updateMorphs
:
(
(
morphs
:
Map
<
string
,
number
>
)
=>
Promise
<
void
>
)
;
addConfigurationUpdate
(
cb
:
(
(
cfg
:
AvatarEditorConfiguration
)
=>
void
)
)
:
(
(
)
=>
void
)
;
addStateUpdate
(
cb
:
(
(
cfg
:
AvatarEditorState
)
=>
void
)
)
:
(
(
)
=>
void
)
;
getConfiguration
(
)
:
null
|
AvatarEditorConfiguration
;
getState
(
)
:
null
|
AvatarEditorState
;
hide
(
)
:
void
;
openIn
(
target
:
HTMLElement
)
:
void
;
removeConfigurationUpdate
(
cb
:
(
(
cfg
:
AvatarEditorConfiguration
)
=>
void
)
)
:
void
;
removeStateUpdate
(
cb
:
(
(
cfg
:
AvatarEditorState
)
=>
void
)
)
:
void
;
setActionReceiver
(
receiver
:
AvatarEditorActions
)
:
void
;
setConfiguration
(
cfg
:
AvatarEditorConfiguration
)
:
void
;
setState
(
cfg
:
AvatarEditorState
)
:
void
;
}
Hierarchy (
view full
)
AvatarEditorActions
AvatarEditorApi
Index
Properties
get
Avatar
update
Morphs
Methods
add
Configuration
Update
add
State
Update
get
Configuration
get
State
hide
open
In
remove
Configuration
Update
remove
State
Update
set
Action
Receiver
set
Configuration
set
State
Properties
get
Avatar
get
Avatar
:
(
(
)
=>
Promise
<
null
|
IAssetWrapper
>
)
update
Morphs
update
Morphs
:
(
(
morphs
:
Map
<
string
,
number
>
)
=>
Promise
<
void
>
)
Methods
add
Configuration
Update
add
Configuration
Update
(
cb
)
:
(
(
)
=>
void
)
Parameters
cb
:
(
(
cfg
:
AvatarEditorConfiguration
)
=>
void
)
(
cfg
)
:
void
Parameters
cfg
:
AvatarEditorConfiguration
Returns
void
Returns
(
(
)
=>
void
)
(
)
:
void
Returns
void
add
State
Update
add
State
Update
(
cb
)
:
(
(
)
=>
void
)
Parameters
cb
:
(
(
cfg
:
AvatarEditorState
)
=>
void
)
(
cfg
)
:
void
Parameters
cfg
:
AvatarEditorState
Returns
void
Returns
(
(
)
=>
void
)
(
)
:
void
Returns
void
get
Configuration
get
Configuration
(
)
:
null
|
AvatarEditorConfiguration
Returns
null
|
AvatarEditorConfiguration
get
State
get
State
(
)
:
null
|
AvatarEditorState
Returns
null
|
AvatarEditorState
hide
hide
(
)
:
void
Returns
void
open
In
open
In
(
target
)
:
void
Parameters
target
:
HTMLElement
Returns
void
remove
Configuration
Update
remove
Configuration
Update
(
cb
)
:
void
Parameters
cb
:
(
(
cfg
:
AvatarEditorConfiguration
)
=>
void
)
(
cfg
)
:
void
Parameters
cfg
:
AvatarEditorConfiguration
Returns
void
Returns
void
remove
State
Update
remove
State
Update
(
cb
)
:
void
Parameters
cb
:
(
(
cfg
:
AvatarEditorState
)
=>
void
)
(
cfg
)
:
void
Parameters
cfg
:
AvatarEditorState
Returns
void
Returns
void
set
Action
Receiver
set
Action
Receiver
(
receiver
)
:
void
Parameters
receiver
:
AvatarEditorActions
Returns
void
set
Configuration
set
Configuration
(
cfg
)
:
void
Parameters
cfg
:
AvatarEditorConfiguration
Returns
void
set
State
set
State
(
cfg
)
:
void
Parameters
cfg
:
AvatarEditorState
Returns
void
Settings
Member Visibility
Protected
Inherited
External
Theme
OS
Light
Dark
On This Page
Properties
get
Avatar
update
Morphs
Methods
add
Configuration
Update
add
State
Update
get
Configuration
get
State
hide
open
In
remove
Configuration
Update
remove
State
Update
set
Action
Receiver
set
Configuration
set
State
@pictofit/public-types
Loading...