Files
attract/src/scripts/js/es6/common/vuecomponents/attracttable/rows/AttractRowBase.js

15 lines
371 B
JavaScript
Raw Normal View History

let RowBase = pillar.vuecomponents.table.rows.RowBase;
class AttractRowBase extends RowBase {
constructor(underlyingObject) {
super(underlyingObject);
pillar.events.Nodes.onUpdated(this.getId(), this.onRowUpdated.bind(this));
}
onRowUpdated(event, updatedObj) {
this.underlyingObject = updatedObj;
}
}
export { AttractRowBase }