Additional pin templates type

This commit is contained in:
barsdeveloper
2022-03-27 13:42:52 +02:00
parent c5816f54d9
commit 846217861b
14 changed files with 159 additions and 57 deletions

View File

@@ -0,0 +1,17 @@
import html from "./html"
import PinTemplate from "./PinTemplate"
/**
* @typedef {import("../element/PinElement").default} PinElement
*/
export default class StringPinTemplate extends PinTemplate {
/**
* @param {PinElement} pin
*/
renderInput(pin) {
return html`
<span class="ueb-pin-input" role="textbox" contenteditable="true"></span>
`
}
}