UNPKG

igniteui-webcomponents-grids

Version:

Ignite UI Web Components grid components.

94 lines (93 loc) 3.59 kB
import { IgcDefinitionBaseComponent } from "./igc-definition-base-component"; import { ColumnMovingSeparator } from "./ColumnMovingSeparator"; import { getAllPropertyNames, toSpinal } from "igniteui-webcomponents-core"; import { RegisterElementHelper } from "igniteui-webcomponents-core"; export let IgcColumnMovingSeparatorComponent = /*@__PURE__*/ (() => { class IgcColumnMovingSeparatorComponent extends IgcDefinitionBaseComponent { createImplementation() { return new ColumnMovingSeparator(); } /** * @hidden */ get i() { return this._implementation; } constructor() { super(); } connectedCallback() { if (super["connectedCallback"]) { super["connectedCallback"](); } if (this.i.connectedCallback) { this.i.connectedCallback(); } if (this.updateContentChildren) { this.updateContentChildren(); } else if (this._updateAdapters) { this._updateAdapters(); } 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 (IgcColumnMovingSeparatorComponent._observedAttributesIgcColumnMovingSeparatorComponent == null) { let names = getAllPropertyNames(IgcColumnMovingSeparatorComponent); for (let i = 0; i < names.length; i++) { names[i] = toSpinal(names[i]); } IgcColumnMovingSeparatorComponent._observedAttributesIgcColumnMovingSeparatorComponent = names; } return IgcColumnMovingSeparatorComponent._observedAttributesIgcColumnMovingSeparatorComponent; } static register() { if (!IgcColumnMovingSeparatorComponent._isElementRegistered) { IgcColumnMovingSeparatorComponent._isElementRegistered = true; RegisterElementHelper.registerElement(IgcColumnMovingSeparatorComponent.htmlTagName, IgcColumnMovingSeparatorComponent); } } /** * Gets or sets the separator width for this column. */ get separatorWidth() { return this.i.g3; } set separatorWidth(v) { this.i.g3 = +v; this._a("separatorWidth", this.i.g3); } get actualOpacity() { return this.i.g0; } set actualOpacity(v) { this.i.g0 = +v; this._a("actualOpacity", this.i.g0); } get opacity() { return this.i.g1; } set opacity(v) { this.i.g1 = +v; this._a("opacity", this.i.g1); } } IgcColumnMovingSeparatorComponent._observedAttributesIgcColumnMovingSeparatorComponent = null; IgcColumnMovingSeparatorComponent.htmlTagName = "igc-column-moving-separator"; IgcColumnMovingSeparatorComponent._isElementRegistered = false; return IgcColumnMovingSeparatorComponent; })();