UNPKG

jii

Version:

Jii - Full-Stack JavaScript Framework

38 lines (29 loc) 670 B
/** * @author Vladimir Kozhin <affka@affka.ru> * @license MIT */ 'use strict'; 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;