UNPKG

igniteui-angular-core

Version:

Ignite UI Angular Core logic used in multiple UI components.

47 lines (46 loc) 1.15 kB
/** * Represents event arguments for FDC3 MessageRecived */ export class IgxStockChangedEventArgs { constructor() { } /** * @hidden */ get i() { return this._implementation; } onImplementationCreated() { } _provideImplementation(i) { this._implementation = i; this._implementation.externalObject = this; this.onImplementationCreated(); } /** * Gets array of added stock symbols */ get addedSymbols() { return this.i.addedSymbols; } set addedSymbols(v) { if (v && !Array.isArray(v) && typeof (v) == "string") { const re = /\s*(?:,|\s|$)\s*/gm; v = v.split(re); } this.i.addedSymbols = v; } /** * Gets array of removed stock symbols */ get removedSymbols() { return this.i.removedSymbols; } set removedSymbols(v) { if (v && !Array.isArray(v) && typeof (v) == "string") { const re = /\s*(?:,|\s|$)\s*/gm; v = v.split(re); } this.i.removedSymbols = v; } }