UNPKG

@yuebai008/cli

Version:

Command line interface for rapid qg-minigame development

9 lines (8 loc) 1.07 kB
import*as ComponentHelpers from"../../components/helpers/helpers.js";import*as LitHtml from"../../lit-html/lit-html.js";import panelIntroductionStepsStyles from"./panelIntroductionSteps.css.js";export class PanelIntroductionSteps extends HTMLElement{static litTagName=LitHtml.literal`devtools-panel-introduction-steps`;#e=this.attachShadow({mode:"open"});#t=this.#s.bind(this);connectedCallback(){this.#e.adoptedStyleSheets=[panelIntroductionStepsStyles],ComponentHelpers.ScheduledRender.scheduleRender(this,this.#t)}#s(){if(!ComponentHelpers.ScheduledRender.isScheduledRender(this))throw new Error("FeedbackButton render was not scheduled");LitHtml.render(LitHtml.html` <h1><slot name="title">slot: title</slot></h1> <ol class="intro-steps"> <li><slot name="step-1">slot: step-1</slot></li> <li><slot name="step-2">slot: step-2</slot></li> <li><slot name="step-3">slot: step-3</slot></li> </ol> `,this.#e,{host:this})}}ComponentHelpers.CustomElements.defineComponent("devtools-panel-introduction-steps",PanelIntroductionSteps);