igniteui-angular-inputs
Version:
Ignite UI Angular input components for building rich data visualizations for modern web apps.
55 lines (54 loc) • 2.32 kB
JavaScript
import { ColorEditorPanelSelectedValueChangedEventArgs as ColorEditorPanelSelectedValueChangedEventArgs_internal } from "./ColorEditorPanelSelectedValueChangedEventArgs";
import { brushToString, stringToBrush } from "igniteui-angular-core";
var IgxColorEditorPanelSelectedValueChangedEventArgs = /** @class */ /*@__PURE__*/ (function () {
function IgxColorEditorPanelSelectedValueChangedEventArgs() {
this._implementation = this.createImplementation();
this._implementation.externalObject = this;
this.onImplementationCreated();
if (this._initializeAdapters) {
this._initializeAdapters();
}
}
IgxColorEditorPanelSelectedValueChangedEventArgs.prototype.createImplementation = function () {
return new ColorEditorPanelSelectedValueChangedEventArgs_internal();
};
Object.defineProperty(IgxColorEditorPanelSelectedValueChangedEventArgs.prototype, "i", {
/**
* @hidden
*/
get: function () {
return this._implementation;
},
enumerable: false,
configurable: true
});
IgxColorEditorPanelSelectedValueChangedEventArgs.prototype.onImplementationCreated = function () {
};
IgxColorEditorPanelSelectedValueChangedEventArgs.prototype._provideImplementation = function (i) {
this._implementation = i;
this._implementation.externalObject = this;
this.onImplementationCreated();
};
Object.defineProperty(IgxColorEditorPanelSelectedValueChangedEventArgs.prototype, "oldValue", {
get: function () {
return brushToString(this.i.oldValue);
},
set: function (v) {
this.i.oldValue = stringToBrush(v);
},
enumerable: false,
configurable: true
});
Object.defineProperty(IgxColorEditorPanelSelectedValueChangedEventArgs.prototype, "newValue", {
get: function () {
return brushToString(this.i.newValue);
},
set: function (v) {
this.i.newValue = stringToBrush(v);
},
enumerable: false,
configurable: true
});
return IgxColorEditorPanelSelectedValueChangedEventArgs;
}());
export { IgxColorEditorPanelSelectedValueChangedEventArgs };