ManagedObjectRemovedEvent

class ManagedObjectRemovedEvent

extends ManagedListChangeEvent

Event that is emitted when an item is removed from a ManagedList. The event object contains a reference to the object that has been removed from the list or map.

Constructor

(source: ManagedList<ManagedObject> | ManagedMap<ManagedObject>, object: ManagedObject, key?: string): ManagedObjectRemovedEvent

.key

string

The key that was removed, only for events emitted by ManagedMap.

.object

ManagedObject

The object that was removed.

.source

ManagedList<ManagedObject> | ManagedMap<ManagedObject>

Inherited from ManagedListChangeEvent.source.

.name

string

Inherited from ManagedEvent.name.

.freeze()

(): Readonly<this>

Inherited from ManagedEvent.freeze.