import Moveable from "lit-moveable"; import { LitElement, html } from "lit"; import { customElement, property } from "lit/decorators.js"; import { ref, createRef } from "lit/directives/ref.js"; @customElement("lit-app") export default class App extends LitElement { targetRef1: Ref = createRef(null); targetRef2: Ref = createRef(null); render() { return html `

Input

Content Editable

`; } onClick() { this.targetRef1.value!.focus(); } onClick$0() { this.targetRef2.value!.focus(); } onDrag(e) { e.target.style.cssText += e.cssText; } onDrag$0(e) { e.target.style.cssText += e.cssText; } }