import Moveable from "lit-moveable"; import { LitElement, html } from "lit"; import { customElement, property, state } from "lit/decorators.js"; const CustomElement = ` class CustomElement extends HTMLElement { styleText = ${"`"} .card { width: 100%; height: 100%; } .card-header { width:100%; height: 80px; background-color: #3794FF; } .card-content { width: 100%; height: calc(100% - 80px); background-color: #EDF0F3; position: relative; } .card-inner { position: relative; top: 50px; left: 50px; } ${"`"}; constructor() { super(); this.shadow = this.attachShadow({ mode: 'open' }); const style = document.createElement('style'); const div = document.createElement('div'); div.classList.add('card'); div.innerHTML = ${"`"}
${this.agent}