igniteui-angular-inputs
Version:
Ignite UI Angular input components for building rich data visualizations for modern web apps.
71 lines (70 loc) • 2.67 kB
JavaScript
import { IgxMultiSliderThumb } from "./igx-multi-slider-thumb";
import { MultiSliderThumbValueChangingEventArgs as MultiSliderThumbValueChangingEventArgs_internal } from "./MultiSliderThumbValueChangingEventArgs";
var IgxMultiSliderThumbValueChangingEventArgs = /** @class */ /*@__PURE__*/ (function () {
function IgxMultiSliderThumbValueChangingEventArgs() {
this._implementation = this.createImplementation();
this._implementation.externalObject = this;
this.onImplementationCreated();
if (this._initializeAdapters) {
this._initializeAdapters();
}
}
IgxMultiSliderThumbValueChangingEventArgs.prototype.createImplementation = function () {
return new MultiSliderThumbValueChangingEventArgs_internal();
};
Object.defineProperty(IgxMultiSliderThumbValueChangingEventArgs.prototype, "i", {
/**
* @hidden
*/
get: function () {
return this._implementation;
},
enumerable: false,
configurable: true
});
IgxMultiSliderThumbValueChangingEventArgs.prototype.onImplementationCreated = function () {
};
IgxMultiSliderThumbValueChangingEventArgs.prototype._provideImplementation = function (i) {
this._implementation = i;
this._implementation.externalObject = this;
this.onImplementationCreated();
};
Object.defineProperty(IgxMultiSliderThumbValueChangingEventArgs.prototype, "value", {
get: function () {
return this.i.b;
},
set: function (v) {
this.i.b = +v;
},
enumerable: false,
configurable: true
});
Object.defineProperty(IgxMultiSliderThumbValueChangingEventArgs.prototype, "thumb", {
get: function () {
var r = this.i.a;
if (r == null) {
return null;
}
if (!r.externalObject) {
var e = new IgxMultiSliderThumb();
if (r.$type) {
e._implementation = r;
}
else {
if (e.i.setNativeElement) {
e.i.setNativeElement(r);
}
}
r.externalObject = e;
}
return r.externalObject;
},
set: function (v) {
v == null ? this.i.a = null : this.i.a = v.i;
},
enumerable: false,
configurable: true
});
return IgxMultiSliderThumbValueChangingEventArgs;
}());
export { IgxMultiSliderThumbValueChangingEventArgs };