igniteui-webcomponents-charts
Version:
Ignite UI Web Components charting components for building rich data visualizations using TypeScript APIs.
70 lines (69 loc) • 3.16 kB
JavaScript
import { IgcStrategyBasedIndicatorComponent } from "./igc-strategy-based-indicator-component";
import { UltimateOscillatorIndicator } from "./UltimateOscillatorIndicator";
import { getAllPropertyNames, toSpinal } from "igniteui-webcomponents-core";
import { RegisterElementHelper } from "igniteui-webcomponents-core";
/**
* Represents a IgxDataChartComponent Ultimate Oscillator indicator series.
* Default required members: High, Low, Close
*
* You can use the `UltimateOscillatorIndicator` which represents a IgxDataChartComponent Ultimate Oscillator indicator series.
*/
export let IgcUltimateOscillatorIndicatorComponent = /*@__PURE__*/ (() => {
class IgcUltimateOscillatorIndicatorComponent extends IgcStrategyBasedIndicatorComponent {
createImplementation() {
return new UltimateOscillatorIndicator();
}
/**
* @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 (IgcUltimateOscillatorIndicatorComponent._observedAttributesIgcUltimateOscillatorIndicatorComponent == null) {
let names = getAllPropertyNames(IgcUltimateOscillatorIndicatorComponent);
for (let i = 0; i < names.length; i++) {
names[i] = toSpinal(names[i]);
}
IgcUltimateOscillatorIndicatorComponent._observedAttributesIgcUltimateOscillatorIndicatorComponent = names;
}
return IgcUltimateOscillatorIndicatorComponent._observedAttributesIgcUltimateOscillatorIndicatorComponent;
}
static register() {
if (!IgcUltimateOscillatorIndicatorComponent._isElementRegistered) {
IgcUltimateOscillatorIndicatorComponent._isElementRegistered = true;
RegisterElementHelper.registerElement(IgcUltimateOscillatorIndicatorComponent.htmlTagName, IgcUltimateOscillatorIndicatorComponent);
}
}
}
IgcUltimateOscillatorIndicatorComponent._observedAttributesIgcUltimateOscillatorIndicatorComponent = null;
IgcUltimateOscillatorIndicatorComponent.htmlTagName = "igc-ultimate-oscillator-indicator";
IgcUltimateOscillatorIndicatorComponent._isElementRegistered = false;
return IgcUltimateOscillatorIndicatorComponent;
})();