ActiveListSwappedEvent<T>
TYPE DEFINITION
Represents an activation of an ActiveList.
Since 1.0.0
Extends ActiveListBaseEventProperties
-
index
An object containing the indexes of the items which were swapped.
Since 1.0.0
Object
a: numberThe index of the first item before it was swapped.
Note: this was the index at the time of the activation, it might no longer be accurate.
Since 1.0.0
b: numberThe index of the second item before it was swapped.
Note: this was the index at the time of the activation, it might no longer be accurate.
Since 1.0.0
-
type
"SWAPPED"
Which type occurred
Since 1.0.0
-
value
An object containing the value of the items which were swapped.
Since 1.0.0
Object
a: TThe value of the first item which was swapped.
Note: this was the value at the time of the swap, 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
Signature
():b: TThe value of the second item which was swapped.
Note: this was the value at the time of the swap, 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
Signature
():