import { html, css, LitElement } from "lit"; import { LitElementWw } from "@webwriter/lit"; import { customElement, property, query, state, queryAssignedElements, } from "lit/decorators.js"; import arrowsMove from "@tabler/icons/outline/arrows-move.svg"; import questionMark from "@tabler/icons/outline/question-mark.svg"; import { SlIcon, SlIconButton } from "@shoelace-style/shoelace"; //Import Styles import styles from "./node-editor-help-menu.styles"; @customElement("node-editor-help-menu") export class NodeEditorHelpMenu extends LitElementWw { //import CSS static styles = [styles]; //registering custom elements used in the widget static get scopedElements() { return { "sl-icon": SlIcon, "sl-icon-button": SlIconButton, }; } @state() accessor showWindow = false; render() { return html` ${this.showWindow ? html`
x

+

CTRL

+

Select

Drag Connection

Delete

Zoom In/Out

` : html`
`}`; } toggleWindow() { this.showWindow = !this.showWindow; } }