igniteui-webcomponents-inputs
Version:
Ignite UI Web Components inputs components.
74 lines (73 loc) • 2.69 kB
JavaScript
import { IgcMultiSliderThumb } from "./igc-multi-slider-thumb";
import { MultiSliderThumbValueChangingEventArgs as MultiSliderThumbValueChangingEventArgs_internal } from "./MultiSliderThumbValueChangingEventArgs";
var IgcMultiSliderThumbValueChangingEventArgs = /** @class */ /*@__PURE__*/ (function () {
function IgcMultiSliderThumbValueChangingEventArgs() {
this._implementation = this.createImplementation();
this._implementation.externalObject = this;
this.onImplementationCreated();
if (this._initializeAdapters) {
this._initializeAdapters();
}
}
IgcMultiSliderThumbValueChangingEventArgs.prototype.createImplementation = function () {
return new MultiSliderThumbValueChangingEventArgs_internal();
};
Object.defineProperty(IgcMultiSliderThumbValueChangingEventArgs.prototype, "i", {
/**
* @hidden
*/
get: function () {
return this._implementation;
},
enumerable: false,
configurable: true
});
IgcMultiSliderThumbValueChangingEventArgs.prototype.onImplementationCreated = function () {
};
IgcMultiSliderThumbValueChangingEventArgs.prototype._provideImplementation = function (i) {
this._implementation = i;
this._implementation.externalObject = this;
this.onImplementationCreated();
if (this._initializeAdapters) {
this._initializeAdapters();
}
};
Object.defineProperty(IgcMultiSliderThumbValueChangingEventArgs.prototype, "value", {
get: function () {
return this.i.b;
},
set: function (v) {
this.i.b = +v;
},
enumerable: false,
configurable: true
});
Object.defineProperty(IgcMultiSliderThumbValueChangingEventArgs.prototype, "thumb", {
get: function () {
var r = this.i.a;
if (r == null) {
return null;
}
if (!r.externalObject) {
var e = new IgcMultiSliderThumb();
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 IgcMultiSliderThumbValueChangingEventArgs;
}());
export { IgcMultiSliderThumbValueChangingEventArgs };