igniteui-angular-core
Version:
Ignite UI Angular Core logic used in multiple UI components.
45 lines (44 loc) • 1.53 kB
JavaScript
import { CancelEventArgs as CancelEventArgs_internal } from "./CancelEventArgs";
import { ensureBool } from "./componentUtil";
var IgxCancelEventArgs = /** @class */ /*@__PURE__*/ (function () {
function IgxCancelEventArgs() {
this._implementation = this.createImplementation();
this._implementation.externalObject = this;
this.onImplementationCreated();
if (this._initializeAdapters) {
this._initializeAdapters();
}
}
IgxCancelEventArgs.prototype.createImplementation = function () {
return new CancelEventArgs_internal(0);
};
Object.defineProperty(IgxCancelEventArgs.prototype, "i", {
/**
* @hidden
*/
get: function () {
return this._implementation;
},
enumerable: false,
configurable: true
});
IgxCancelEventArgs.prototype.onImplementationCreated = function () {
};
IgxCancelEventArgs.prototype._provideImplementation = function (i) {
this._implementation = i;
this._implementation.externalObject = this;
this.onImplementationCreated();
};
Object.defineProperty(IgxCancelEventArgs.prototype, "cancel", {
get: function () {
return this.i.cancel;
},
set: function (v) {
this.i.cancel = ensureBool(v);
},
enumerable: false,
configurable: true
});
return IgxCancelEventArgs;
}());
export { IgxCancelEventArgs };