ActiveListDeactivatedEvent<T>

TYPE DEFINITION

Represents a deactivation of an ActiveList.

IMPORTANT: this event is only fired as a result of a direct deactivation call. So not when activating an item also deactivated an item due to a maxActivationLimit being set.

Since 1.0.0

Extends ActiveListBaseEvent

Properties

  • index

    number

    The index of the deactivated item.

    Note: this was the index at the time of the deactivation, it might no longer be accurate.

    Since 1.0.0

  • type

    "DEACTIVATED"

    Which type occurred

    Since 1.0.0

  • value

    T

    The value which was deactivated.

    Note: this was the value at the time of deactivation, it might no longer be accurate. Keep in mind that when the value is an object or an array, they can still be mutated, because no copy is made.

    Since 1.0.0