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