igniteui-webcomponents-charts
Version:
Ignite UI Web Components charting components for building rich data visualizations using TypeScript APIs.
52 lines (51 loc) • 2.09 kB
JavaScript
import { IgcFinancialIndicatorComponent } from "./igc-financial-indicator-component";
import { getAllPropertyNames, toSpinal } from "igniteui-webcomponents-core";
let IgcStrategyBasedIndicatorComponent = /*@__PURE__*/ (() => {
class IgcStrategyBasedIndicatorComponent extends IgcFinancialIndicatorComponent {
/**
* @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 (IgcStrategyBasedIndicatorComponent._observedAttributesIgcStrategyBasedIndicatorComponent == null) {
let names = getAllPropertyNames(IgcStrategyBasedIndicatorComponent);
for (let i = 0; i < names.length; i++) {
names[i] = toSpinal(names[i]);
}
IgcStrategyBasedIndicatorComponent._observedAttributesIgcStrategyBasedIndicatorComponent = names;
}
return IgcStrategyBasedIndicatorComponent._observedAttributesIgcStrategyBasedIndicatorComponent;
}
}
IgcStrategyBasedIndicatorComponent._observedAttributesIgcStrategyBasedIndicatorComponent = null;
return IgcStrategyBasedIndicatorComponent;
})();
export { IgcStrategyBasedIndicatorComponent };