ManagedObjectAddedEvent
class ManagedObjectAddedEvent
extends
ManagedListChangeEvent
Event that is emitted when an item is added to a ManagedList
or ManagedMap
. The object contains a reference to the object that has been added to the list or map.
Constructor
(source:
ManagedList
<
ManagedObject
> |
ManagedMap
<
ManagedObject
>,
object
:
ManagedObject
,
key
?: string): ManagedObjectAddedEvent
.key
string
The key that was added, only for events emitted by ManagedMap
.
.object
The object that was added.
.source
ManagedList
<
ManagedObject
> |
ManagedMap
<
ManagedObject
>
Inherited from ManagedListChangeEvent.source
.
.name
string
Inherited from ManagedEvent.name
.
.freeze()
(): Readonly<this>
Inherited from ManagedEvent.freeze
.