igniteui-webcomponents-charts
Version:
Ignite UI Web Components charting components for building rich data visualizations using TypeScript APIs.
65 lines (64 loc) • 2.87 kB
JavaScript
import { IgcDataAnnotationPointLayerComponent } from "./igc-data-annotation-point-layer-component";
import { DataAnnotationLineLayer } from "./DataAnnotationLineLayer";
import { getAllPropertyNames, toSpinal } from "igniteui-webcomponents-core";
import { RegisterElementHelper } from "igniteui-webcomponents-core";
let IgcDataAnnotationLineLayerComponent = /*@__PURE__*/ (() => {
class IgcDataAnnotationLineLayerComponent extends IgcDataAnnotationPointLayerComponent {
createImplementation() {
return new DataAnnotationLineLayer();
}
/**
* @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 (IgcDataAnnotationLineLayerComponent._observedAttributesIgcDataAnnotationLineLayerComponent == null) {
let names = getAllPropertyNames(IgcDataAnnotationLineLayerComponent);
for (let i = 0; i < names.length; i++) {
names[i] = toSpinal(names[i]);
}
IgcDataAnnotationLineLayerComponent._observedAttributesIgcDataAnnotationLineLayerComponent = names;
}
return IgcDataAnnotationLineLayerComponent._observedAttributesIgcDataAnnotationLineLayerComponent;
}
static register() {
if (!IgcDataAnnotationLineLayerComponent._isElementRegistered) {
IgcDataAnnotationLineLayerComponent._isElementRegistered = true;
RegisterElementHelper.registerElement(IgcDataAnnotationLineLayerComponent.htmlTagName, IgcDataAnnotationLineLayerComponent);
}
}
}
IgcDataAnnotationLineLayerComponent._observedAttributesIgcDataAnnotationLineLayerComponent = null;
IgcDataAnnotationLineLayerComponent.htmlTagName = "igc-data-annotation-line-layer";
IgcDataAnnotationLineLayerComponent._isElementRegistered = false;
return IgcDataAnnotationLineLayerComponent;
})();
export { IgcDataAnnotationLineLayerComponent };