igniteui-angular-core
Version:
Ignite UI Angular Core logic used in multiple UI components.
61 lines (60 loc) • 1.93 kB
JavaScript
/**
* Represents event arguments for FDC3 MessageRecived
*/
var IgxStockChangedEventArgs = /** @class */ /*@__PURE__*/ (function () {
function IgxStockChangedEventArgs() {
}
Object.defineProperty(IgxStockChangedEventArgs.prototype, "i", {
/**
* @hidden
*/
get: function () {
return this._implementation;
},
enumerable: false,
configurable: true
});
IgxStockChangedEventArgs.prototype.onImplementationCreated = function () {
};
IgxStockChangedEventArgs.prototype._provideImplementation = function (i) {
this._implementation = i;
this._implementation.externalObject = this;
this.onImplementationCreated();
};
Object.defineProperty(IgxStockChangedEventArgs.prototype, "addedSymbols", {
/**
* Gets array of added stock symbols
*/
get: function () {
return this.i.addedSymbols;
},
set: function (v) {
if (v && !Array.isArray(v) && typeof (v) == "string") {
var re = /\s*(?:,|\s|$)\s*/gm;
v = v.split(re);
}
this.i.addedSymbols = v;
},
enumerable: false,
configurable: true
});
Object.defineProperty(IgxStockChangedEventArgs.prototype, "removedSymbols", {
/**
* Gets array of removed stock symbols
*/
get: function () {
return this.i.removedSymbols;
},
set: function (v) {
if (v && !Array.isArray(v) && typeof (v) == "string") {
var re = /\s*(?:,|\s|$)\s*/gm;
v = v.split(re);
}
this.i.removedSymbols = v;
},
enumerable: false,
configurable: true
});
return IgxStockChangedEventArgs;
}());
export { IgxStockChangedEventArgs };