igniteui-react-core
Version:
Ignite UI React Core.
72 lines (71 loc) • 2.23 kB
JavaScript
/**
* Represents event arguments for FDC3 MessageRecived
*/
var IgrStockChangedEventArgs = /** @class */ /*@__PURE__*/ (function () {
function IgrStockChangedEventArgs() {
this.mounted = false;
}
Object.defineProperty(IgrStockChangedEventArgs.prototype, "nativeElement", {
get: function () {
return this._implementation.nativeElement;
},
enumerable: false,
configurable: true
});
Object.defineProperty(IgrStockChangedEventArgs.prototype, "i", {
/**
* @hidden
*/
get: function () {
return this._implementation;
},
enumerable: false,
configurable: true
});
IgrStockChangedEventArgs.prototype.onImplementationCreated = function () {
};
IgrStockChangedEventArgs.prototype._provideImplementation = function (i) {
this._implementation = i;
this._implementation.externalObject = this;
this.onImplementationCreated();
if (this._initializeAdapters) {
this._initializeAdapters();
}
};
Object.defineProperty(IgrStockChangedEventArgs.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(IgrStockChangedEventArgs.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 IgrStockChangedEventArgs;
}());
export { IgrStockChangedEventArgs };