ActiveListMovedEvent<T>

TYPE DEFINITION

Represents an activation of an ActiveList.

Since 1.0.0

Extends ActiveListBaseEvent

Properties

  • index

    An object containing the "from" and "to" index of the item which were moved.

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

    Since 1.0.0

    Object
    from: number

    The index of the "from" item before it was moved.

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

    Since 1.0.0

    to: number

    The index of the "to" item before it was moved.

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

    Since 1.0.0

  • type

    "MOVED"

    Which type occurred

    Since 1.0.0

  • value

    T

    The value which was moved.

    Note: this was the value at the time of the move, 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