Classes
Mixins
Events
-
change:length
-
Parameters:
Name Type Description newLengthnumber The current length of the List.
oldLengthnumber The previous length of the List.
listmodule:bff/list The List whose length has changed.
-
item:added
-
Parameters:
Name Type Description itemany The item that was added to the List.
indexnumber The position withing the List where the item was added.
listmodule:bff/list The List to which the item was added.
-
item:removed
-
Parameters:
Name Type Description itemany The item that was removed from the List.
indexnumber The position withing the List where the item was removed.
listmodule:bff/list The List from which the item was removed.
-
item:replaced
-
Parameters:
Name Type Description newItemany The item that was added to the List.
oldItemany The item that was removed from the List.
indexnumber The position withing the List where the item was replaced.
listmodule:bff/list The List in which the item was replaced.
-
change:[property name]
-
Emitted when the value of the property with name [property name] has changed. This event is only emitted if the assigned value actually differs from the previous one, compared using strict equality.
Parameters:
Name Type Description newValueany The new property value
oldValueany The previous property value
selfmodule:bff/record The record that triggered the event
-
change
-
Emitted when some property value has changed. This event is only emitted if the assigned value actually differs from the previous one, compared using strict equality.
Parameters:
Name Type Description propertyNamestring The name of the record property that has changed
newValueany The new property value
oldValueany The previous property value
selfmodule:bff/record The record that triggered the event
-
prechange
-
Emitted when some property value is about to be assigned a new value. This event is always emitted upon assignment, even is the value to be assigned is the same as the current value.
Parameters:
Name Type Description propertyNamestring The name of the record property that is about to be assigned to
currentValueany The current property value
selfmodule:bff/record The record that triggered the event
-
prechange:[property name]
-
Emitted when the property with name [property name] is about to be assigned a new value. This event is always emitted upon assignment, even is the value to be assigned is the same as the current value.
Parameters:
Name Type Description currentValueany The current property value
selfmodule:bff/record The record that triggered the event