import*as ComponentHelpers from"../../../ui/components/helpers/helpers.js";import*as LitHtml from"../../../ui/lit-html/lit-html.js";import elementsTreeExpandButtonStyles from"./elementsTreeExpandButton.css.js";export class ElementsTreeExpandButton extends HTMLElement{static litTagName=LitHtml.literal`devtools-elements-tree-expand-button`;#e=this.attachShadow({mode:"open"});#t=()=>{};set data(e){this.#t=e.clickHandler,this.#s()}#s(){this.#n()}connectedCallback(){this.#e.adoptedStyleSheets=[elementsTreeExpandButtonStyles]}#n(){LitHtml.render(LitHtml.html`<span
        class="expand-button"
        @click=${this.#t}><span class="dot"></span><span class="dot"></span><span class="dot"></span></span>`,this.#e,{host:this})}}ComponentHelpers.CustomElements.defineComponent("devtools-elements-tree-expand-button",ElementsTreeExpandButton);