jii
Version:
Jii - Full-Stack JavaScript Framework
38 lines (29 loc) • 670 B
JavaScript
/**
* @author Vladimir Kozhin <affka@affka.ru>
* @license MIT
*/
;
const Jii = require('../BaseJii');
const ChangeEvent = require('./ChangeEvent');
class ChangeAttributeEvent extends ChangeEvent {
preInit() {
/**
* @type {boolean}
*/
this.isRelation = false;
/**
* @type {*}
*/
this.newValue = null;
/**
* @type {*}
*/
this.oldValue = null;
/**
* @type {string}
*/
this.attribute = '';
super.preInit(...arguments);
}
}
module.exports = ChangeAttributeEvent;