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