UNPKG

igniteui-webcomponents-charts

Version:

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

81 lines (80 loc) 3.12 kB
import { IgcPolarLineSeriesBaseComponent } from "./igc-polar-line-series-base-component"; import { PolarSplineSeries } from "./PolarSplineSeries"; import { getAllPropertyNames, toSpinal } from "igniteui-webcomponents-core"; import { RegisterElementHelper } from "igniteui-webcomponents-core"; let IgcPolarSplineSeriesComponent = /*@__PURE__*/ (() => { class IgcPolarSplineSeriesComponent extends IgcPolarLineSeriesBaseComponent { createImplementation() { return new PolarSplineSeries(); } /** * @hidden */ get i() { return this._implementation; } constructor() { super(); } connectedCallback() { if (super["connectedCallback"]) { super["connectedCallback"](); } if (this.i.connectedCallback) { this.i.connectedCallback(); } if (!this._attached) { this._attached = true; this._flushQueuedAttributes(); } } disconnectedCallback() { if (super["disconnectedCallback"]) { super["disconnectedCallback"](); } if (this.i.disconnectedCallback) { this.i.disconnectedCallback(); } if (this._attached) { this._attached = false; } } static get observedAttributes() { if (IgcPolarSplineSeriesComponent._observedAttributesIgcPolarSplineSeriesComponent == null) { let names = getAllPropertyNames(IgcPolarSplineSeriesComponent); for (let i = 0; i < names.length; i++) { names[i] = toSpinal(names[i]); } IgcPolarSplineSeriesComponent._observedAttributesIgcPolarSplineSeriesComponent = names; } return IgcPolarSplineSeriesComponent._observedAttributesIgcPolarSplineSeriesComponent; } static register() { if (!IgcPolarSplineSeriesComponent._isElementRegistered) { IgcPolarSplineSeriesComponent._isElementRegistered = true; RegisterElementHelper.registerElement(IgcPolarSplineSeriesComponent.htmlTagName, IgcPolarSplineSeriesComponent); } } /** * Gets whether the current series shows a spline shape. */ get isSpline() { return this.i.f3; } /** * Gets or sets the Stiffness property. */ get stiffness() { return this.i.adg; } set stiffness(v) { this.i.adg = +v; this._a("stiffness", this.i.adg); } } IgcPolarSplineSeriesComponent._observedAttributesIgcPolarSplineSeriesComponent = null; IgcPolarSplineSeriesComponent.htmlTagName = "igc-polar-spline-series"; IgcPolarSplineSeriesComponent._isElementRegistered = false; return IgcPolarSplineSeriesComponent; })(); export { IgcPolarSplineSeriesComponent };