library-ts/browser/events/ChangeEvent.ts

15 lines
283 B
TypeScript
Raw Normal View History

2025-03-23 07:31:36 +00:00
export class ChangeEvent<T>
{
private _lastValue:T;
get lastValue() { return this._lastValue; }
private _newValue:T;
get newValue(){ return this._newValue; }
constructor( lastValue:T, newValue:T )
{
this._lastValue = lastValue;
this._newValue = newValue;
}
}