igniteui-react-core
Version:
Ignite UI React Core.
56 lines (55 loc) • 1.84 kB
JavaScript
import { CancelEventArgs as CancelEventArgs_internal } from "./CancelEventArgs";
import { ensureBool } from "./componentUtil";
var IgrCancelEventArgs = /** @class */ /*@__PURE__*/ (function () {
function IgrCancelEventArgs() {
this.mounted = false;
this._implementation = this.createImplementation();
this._implementation.externalObject = this;
this.onImplementationCreated();
if (this._initializeAdapters) {
this._initializeAdapters();
}
}
IgrCancelEventArgs.prototype.createImplementation = function () {
return new CancelEventArgs_internal(0);
};
Object.defineProperty(IgrCancelEventArgs.prototype, "nativeElement", {
get: function () {
return this._implementation.nativeElement;
},
enumerable: false,
configurable: true
});
Object.defineProperty(IgrCancelEventArgs.prototype, "i", {
/**
* @hidden
*/
get: function () {
return this._implementation;
},
enumerable: false,
configurable: true
});
IgrCancelEventArgs.prototype.onImplementationCreated = function () {
};
IgrCancelEventArgs.prototype._provideImplementation = function (i) {
this._implementation = i;
this._implementation.externalObject = this;
this.onImplementationCreated();
if (this._initializeAdapters) {
this._initializeAdapters();
}
};
Object.defineProperty(IgrCancelEventArgs.prototype, "cancel", {
get: function () {
return this.i.cancel;
},
set: function (v) {
this.i.cancel = ensureBool(v);
},
enumerable: false,
configurable: true
});
return IgrCancelEventArgs;
}());
export { IgrCancelEventArgs };