igniteui-react-core
Version:
Ignite UI React Core.
77 lines (76 loc) • 2.3 kB
JavaScript
/**
* EventArgs class for property updated events.
*/
var IgrPropertyUpdatedEventArgs = /** @class */ /*@__PURE__*/ (function () {
function IgrPropertyUpdatedEventArgs() {
this.mounted = false;
}
Object.defineProperty(IgrPropertyUpdatedEventArgs.prototype, "nativeElement", {
get: function () {
return this._implementation.nativeElement;
},
enumerable: false,
configurable: true
});
Object.defineProperty(IgrPropertyUpdatedEventArgs.prototype, "i", {
/**
* @hidden
*/
get: function () {
return this._implementation;
},
enumerable: false,
configurable: true
});
IgrPropertyUpdatedEventArgs.prototype.onImplementationCreated = function () {
};
IgrPropertyUpdatedEventArgs.prototype._provideImplementation = function (i) {
this._implementation = i;
this._implementation.externalObject = this;
this.onImplementationCreated();
if (this._initializeAdapters) {
this._initializeAdapters();
}
};
Object.defineProperty(IgrPropertyUpdatedEventArgs.prototype, "propertyName", {
/**
* Name of the property being updated.
*/
get: function () {
return this.i.propertyName;
},
set: function (v) {
this.i.propertyName = v;
},
enumerable: false,
configurable: true
});
Object.defineProperty(IgrPropertyUpdatedEventArgs.prototype, "oldValue", {
/**
* Old or previous value of the property being updated.
*/
get: function () {
return this.i.oldValue;
},
set: function (v) {
this.i.oldValue = v;
},
enumerable: false,
configurable: true
});
Object.defineProperty(IgrPropertyUpdatedEventArgs.prototype, "newValue", {
/**
* New or current value of the property being updated.
*/
get: function () {
return this.i.newValue;
},
set: function (v) {
this.i.newValue = v;
},
enumerable: false,
configurable: true
});
return IgrPropertyUpdatedEventArgs;
}());
export { IgrPropertyUpdatedEventArgs };