igniteui-react-core
Version:
Ignite UI React Core.
61 lines (60 loc) • 2.08 kB
JavaScript
import { ProvideCalculatorEventArgs as ProvideCalculatorEventArgs_internal } from "./ProvideCalculatorEventArgs";
/**
* Event arguments for the ProvideCalculator event.
*/
var IgrProvideCalculatorEventArgs = /** @class */ /*@__PURE__*/ (function () {
function IgrProvideCalculatorEventArgs() {
this.mounted = false;
this._implementation = this.createImplementation();
this._implementation.externalObject = this;
this.onImplementationCreated();
if (this._initializeAdapters) {
this._initializeAdapters();
}
}
IgrProvideCalculatorEventArgs.prototype.createImplementation = function () {
return new ProvideCalculatorEventArgs_internal();
};
Object.defineProperty(IgrProvideCalculatorEventArgs.prototype, "nativeElement", {
get: function () {
return this._implementation.nativeElement;
},
enumerable: false,
configurable: true
});
Object.defineProperty(IgrProvideCalculatorEventArgs.prototype, "i", {
/**
* @hidden
*/
get: function () {
return this._implementation;
},
enumerable: false,
configurable: true
});
IgrProvideCalculatorEventArgs.prototype.onImplementationCreated = function () {
};
IgrProvideCalculatorEventArgs.prototype._provideImplementation = function (i) {
this._implementation = i;
this._implementation.externalObject = this;
this.onImplementationCreated();
if (this._initializeAdapters) {
this._initializeAdapters();
}
};
Object.defineProperty(IgrProvideCalculatorEventArgs.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 IgrProvideCalculatorEventArgs;
}());
export { IgrProvideCalculatorEventArgs };