UNPKG

igniteui-angular-inputs

Version:

Ignite UI Angular input components for building rich data visualizations for modern web apps.

52 lines (51 loc) 1.59 kB
import { IgxMultiSliderThumbComponent } from "./igx-multi-slider-thumb-component"; import { MultiSliderThumbValueChangingEventArgs as MultiSliderThumbValueChangingEventArgs_internal } from "./MultiSliderThumbValueChangingEventArgs"; export class IgxMultiSliderThumbValueChangingEventArgs { createImplementation() { return new MultiSliderThumbValueChangingEventArgs_internal(); } /** * @hidden */ get i() { return this._implementation; } onImplementationCreated() { } constructor() { this._implementation = this.createImplementation(); this._implementation.externalObject = this; this.onImplementationCreated(); if (this._initializeAdapters) { this._initializeAdapters(); } } _provideImplementation(i) { this._implementation = i; this._implementation.externalObject = this; this.onImplementationCreated(); } get value() { return this.i.b; } set value(v) { this.i.b = +v; } get thumb() { const r = this.i.a; if (r == null) { return null; } if (!r.externalObject) { let e = IgxMultiSliderThumbComponent._createFromInternal(r); if (e) { e._implementation = r; } Object.defineProperty(r, 'externalObject', { value: e, enumerable: false, configurable: true, writable: true }); } return r.externalObject; } set thumb(v) { v == null ? this.i.a = null : this.i.a = v.i; } }