UNPKG

jii

Version:

Jii - Full-Stack JavaScript Framework

23 lines (17 loc) 451 B
/** * @author Vladimir Kozhin <affka@affka.ru> * @license MIT */ 'use strict'; const ModelEvent = require('../base/ModelEvent'); class AfterSaveEvent extends ModelEvent { preInit() { /** * The attribute values that had changed and were saved. * @type {string[]} */ this.changedAttributes = null; super.preInit(...arguments); } } module.exports = AfterSaveEvent;