Sha256: de958500c51a48073e87821c1b2d95cfd067bd61c8d0a3144cfd2617a31e20ea

Contents?: true

Size: 476 Bytes

Versions: 16

Compression:

Stored size: 476 Bytes

Contents

import { AlchemyHTMLElement } from "alchemy_admin/components/alchemy_html_element"

class Overlay extends AlchemyHTMLElement {
  render() {
    return `
        <alchemy-spinner></alchemy-spinner>
        <div id="overlay_text_box">
            <span id="overlay_text">${this.getAttribute("text")}</span>
        </div>
        `
  }

  set show(value) {
    this.style.setProperty("display", value ? "block" : "none")
  }
}

customElements.define("alchemy-overlay", Overlay)

Version data entries

16 entries across 16 versions & 1 rubygems

Version Path
alchemy_cms-7.1.12 app/javascript/alchemy_admin/components/overlay.js
alchemy_cms-7.1.11 app/javascript/alchemy_admin/components/overlay.js
alchemy_cms-7.1.10 app/javascript/alchemy_admin/components/overlay.js
alchemy_cms-7.1.9 app/javascript/alchemy_admin/components/overlay.js
alchemy_cms-7.1.8 app/javascript/alchemy_admin/components/overlay.js
alchemy_cms-7.1.7 app/javascript/alchemy_admin/components/overlay.js
alchemy_cms-7.1.6 app/javascript/alchemy_admin/components/overlay.js
alchemy_cms-7.1.5 app/javascript/alchemy_admin/components/overlay.js
alchemy_cms-7.1.4 app/javascript/alchemy_admin/components/overlay.js
alchemy_cms-7.1.3 app/javascript/alchemy_admin/components/overlay.js
alchemy_cms-7.1.2 app/javascript/alchemy_admin/components/overlay.js
alchemy_cms-7.1.1 app/javascript/alchemy_admin/components/overlay.js
alchemy_cms-7.1.0 app/javascript/alchemy_admin/components/overlay.js
alchemy_cms-7.1.0.pre.rc1 app/javascript/alchemy_admin/components/overlay.js
alchemy_cms-7.1.0.pre.b2 app/javascript/alchemy_admin/components/overlay.js
alchemy_cms-7.1.0.pre.b1 app/javascript/alchemy_admin/components/overlay.js