turbodombuilder - v0.9.22
Preparing search index...
BlockChangeObserver
Type Alias BlockChangeObserver<DataType, ComponentType, KeyType>
type
BlockChangeObserver
<
DataType
=
any
,
ComponentType
extends
object
=
any
,
KeyType
extends
string
|
number
|
symbol
=
string
,
>
=
{
onAdded
:
Delegate
<
(
data
:
DataType
,
id
:
KeyType
)
=>
ComponentType
|
void
>
;
onUpdated
:
Delegate
<
(
data
:
DataType
,
instance
:
ComponentType
,
id
:
KeyType
)
=>
void
,
>
;
onDeleted
:
Delegate
<
(
data
:
DataType
,
instance
:
ComponentType
,
id
:
KeyType
)
=>
void
,
>
;
instances
:
Map
<
KeyType
,
ComponentType
>
;
getInstance
(
key
:
KeyType
)
:
ComponentType
;
getAllInstances
()
:
ComponentType
[]
;
initialize
()
:
void
;
clear
()
:
void
;
destroy
()
:
void
;
}
Type Parameters
DataType
=
any
ComponentType
extends
object
=
any
KeyType
extends
string
|
number
|
symbol
=
string
Index
Properties
on
Added
on
Updated
on
Deleted
instances
Methods
get
Instance
get
All
Instances
initialize
clear
destroy
Properties
on
Added
onAdded
:
Delegate
<
(
data
:
DataType
,
id
:
KeyType
)
=>
ComponentType
|
void
>
on
Updated
onUpdated
:
Delegate
<
(
data
:
DataType
,
instance
:
ComponentType
,
id
:
KeyType
)
=>
void
,
>
on
Deleted
onDeleted
:
Delegate
<
(
data
:
DataType
,
instance
:
ComponentType
,
id
:
KeyType
)
=>
void
,
>
instances
instances
:
Map
<
KeyType
,
ComponentType
>
Methods
get
Instance
getInstance
(
key
:
KeyType
)
:
ComponentType
Parameters
key
:
KeyType
Returns
ComponentType
get
All
Instances
getAllInstances
()
:
ComponentType
[]
Returns
ComponentType
[]
initialize
initialize
()
:
void
Returns
void
clear
clear
()
:
void
Returns
void
destroy
destroy
()
:
void
Returns
void
Settings
Member Visibility
Protected
Inherited
Theme
OS
Light
Dark
On This Page
Properties
on
Added
on
Updated
on
Deleted
instances
Methods
get
Instance
get
All
Instances
initialize
clear
destroy
turbodombuilder - v0.9.22
Loading...