UNPKG

igniteui-angular-core

Version:

Ignite UI Angular Core logic used in multiple UI components.

40 lines (39 loc) 1.1 kB
import { ProvideCalculatorEventArgs as ProvideCalculatorEventArgs_internal } from "./ProvideCalculatorEventArgs"; /** * Event arguments for the ProvideCalculator event. */ export class IgxProvideCalculatorEventArgs { constructor() { this._implementation = this.createImplementation(); this._implementation.externalObject = this; this.onImplementationCreated(); if (this._initializeAdapters) { this._initializeAdapters(); } } createImplementation() { return new ProvideCalculatorEventArgs_internal(); } /** * @hidden */ get i() { return this._implementation; } onImplementationCreated() { } _provideImplementation(i) { this._implementation = i; this._implementation.externalObject = this; this.onImplementationCreated(); } /** * Gets or sets the summary calculator to use for this summary. */ get calculator() { return this.i.a; } set calculator(v) { this.i.a = v; } }