igniteui-webcomponents-charts
Version:
Ignite UI Web Components charting components for building rich data visualizations using TypeScript APIs.
65 lines (64 loc) • 2.9 kB
JavaScript
import { IgcStrategyBasedIndicatorComponent } from "./igc-strategy-based-indicator-component";
import { PriceVolumeTrendIndicator } from "./PriceVolumeTrendIndicator";
import { getAllPropertyNames, toSpinal } from "igniteui-webcomponents-core";
import { RegisterElementHelper } from "igniteui-webcomponents-core";
let IgcPriceVolumeTrendIndicatorComponent = /*@__PURE__*/ (() => {
class IgcPriceVolumeTrendIndicatorComponent extends IgcStrategyBasedIndicatorComponent {
createImplementation() {
return new PriceVolumeTrendIndicator();
}
/**
* @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 (IgcPriceVolumeTrendIndicatorComponent._observedAttributesIgcPriceVolumeTrendIndicatorComponent == null) {
let names = getAllPropertyNames(IgcPriceVolumeTrendIndicatorComponent);
for (let i = 0; i < names.length; i++) {
names[i] = toSpinal(names[i]);
}
IgcPriceVolumeTrendIndicatorComponent._observedAttributesIgcPriceVolumeTrendIndicatorComponent = names;
}
return IgcPriceVolumeTrendIndicatorComponent._observedAttributesIgcPriceVolumeTrendIndicatorComponent;
}
static register() {
if (!IgcPriceVolumeTrendIndicatorComponent._isElementRegistered) {
IgcPriceVolumeTrendIndicatorComponent._isElementRegistered = true;
RegisterElementHelper.registerElement(IgcPriceVolumeTrendIndicatorComponent.htmlTagName, IgcPriceVolumeTrendIndicatorComponent);
}
}
}
IgcPriceVolumeTrendIndicatorComponent._observedAttributesIgcPriceVolumeTrendIndicatorComponent = null;
IgcPriceVolumeTrendIndicatorComponent.htmlTagName = "igc-price-volume-trend-indicator";
IgcPriceVolumeTrendIndicatorComponent._isElementRegistered = false;
return IgcPriceVolumeTrendIndicatorComponent;
})();
export { IgcPriceVolumeTrendIndicatorComponent };