UNPKG

igniteui-webcomponents-charts

Version:

Ignite UI Web Components charting components for building rich data visualizations using TypeScript APIs.

37 lines (36 loc) 859 B
/** * Provides data for GetCustomContourValues event. */ export class IgcCustomContourValueResolverEventArgs { /** * @hidden */ get i() { return this._implementation; } onImplementationCreated() { } constructor() { } _provideImplementation(i) { this._implementation = i; this._implementation.externalObject = this; this.onImplementationCreated(); if (this._initializeAdapters) { this._initializeAdapters(); } } get values() { return this.i.values; } get contourValues() { return this.i.contourValues; } set contourValues(v) { if (v && !Array.isArray(v) && typeof (v) == "string") { const re = /\s*(?:,|\s|$)\s*/gm; v = v.split(re); } this.i.contourValues = v; } }