All Downloads are FREE. Search and download functionalities are using the official Maven repository.

dev-ui.qwc-barcode4j-card.js Maven / Gradle / Ivy

There is a newer version: 0.0.3
Show newest version
import { pages } from 'build-time-data';
import { LitElement, css, html } from 'lit';
import 'qwc/qwc-extension-link.js';

const NAME = "Barcode4J";
export class QwcBarcode4JCard extends LitElement {

  static styles = css`
      .identity {
        display: flex;
        justify-content: flex-start;
      }

      .description {
        padding-bottom: 10px;
      }

      .logo {
        padding-bottom: 10px;
        margin-right: 5px;
      }

      .card-content {
        color: var(--lumo-contrast-90pct);
        display: flex;
        flex-direction: column;
        justify-content: flex-start;
        padding: 2px 2px;
        height: 100%;
      }

      .card-content slot {
        display: flex;
        flex-flow: column wrap;
        padding-top: 5px;
      }
    `;

  static properties = {
    description: { type: String }
  };

  constructor() {
    super();
  }

  connectedCallback() {
    super.connectedCallback();
  }

  render() {
    return html`
${this.description}
${this._renderCardLinks()}
`; } _renderCardLinks() { return html`${pages.map(page => html` `)}`; } } customElements.define('qwc-barcode4j-card', QwcBarcode4JCard);




© 2015 - 2024 Weber Informatics LLC | Privacy Policy