EmberColumnData.ColumnDataValueMixin Class
Defined in:
Module: ember-column-data
addon/ColumnDataValueMixin.js:6
A mixin that aliases the value of the attribute given by 'columnData' in 'record' to 'value'.
Item Index
Properties
Methods
listenedColumnChangedHook
(
-
changedColumnData
-
changedValue
-
oldValue
Callback callled when the column listened on changes.
Parameters:
-
changedColumnData
ColumnDataColumnData instance of the changed column.
-
changedValue
Any -
oldValue
Any
recordChangeHook
()
Callback called when record changes.
recordRemovedHook
()
Callback called when record is removed (set to null).
valueChangeHook
(
-
val
Callback called when the value changes.
Parameters:
-
val
Any
Properties
columnData
Class
Column data instance to be used to extract value.
parentForBubbling
Instance
Parent object with mixin EmberColumnData.ColumnDataChangeCollectorMixin to bubble to.
record
Class
Record to extract the value from.
value
Unknown
An alias to the value in attribute. It undergoes validations and the change will be bubbled.