igniteui-angular-core
Version:
Ignite UI Angular Core logic used in multiple UI components.
50 lines (49 loc) • 1.77 kB
JavaScript
import { ProvideCalculatorEventArgs as ProvideCalculatorEventArgs_internal } from "./ProvideCalculatorEventArgs";
/**
* Event arguments for the ProvideCalculator event.
*/
var IgxProvideCalculatorEventArgs = /** @class */ /*@__PURE__*/ (function () {
function IgxProvideCalculatorEventArgs() {
this._implementation = this.createImplementation();
this._implementation.externalObject = this;
this.onImplementationCreated();
if (this._initializeAdapters) {
this._initializeAdapters();
}
}
IgxProvideCalculatorEventArgs.prototype.createImplementation = function () {
return new ProvideCalculatorEventArgs_internal();
};
Object.defineProperty(IgxProvideCalculatorEventArgs.prototype, "i", {
/**
* @hidden
*/
get: function () {
return this._implementation;
},
enumerable: false,
configurable: true
});
IgxProvideCalculatorEventArgs.prototype.onImplementationCreated = function () {
};
IgxProvideCalculatorEventArgs.prototype._provideImplementation = function (i) {
this._implementation = i;
this._implementation.externalObject = this;
this.onImplementationCreated();
};
Object.defineProperty(IgxProvideCalculatorEventArgs.prototype, "calculator", {
/**
* Gets or sets the summary calculator to use for this summary.
*/
get: function () {
return this.i.a;
},
set: function (v) {
this.i.a = v;
},
enumerable: false,
configurable: true
});
return IgxProvideCalculatorEventArgs;
}());
export { IgxProvideCalculatorEventArgs };