@yuebai008/cli
Version:
Command line interface for rapid qg-minigame development
1 lines • 517 B
JavaScript
import{ApplicationPanelTreeElement}from"./ApplicationPanelTreeElement.js";import{SharedStorageItemsView}from"./SharedStorageItemsView.js";export class SharedStorageTreeElement extends ApplicationPanelTreeElement{view;constructor(e,t){super(e,t.securityOrigin,!1)}static async createElement(e,t){const r=new SharedStorageTreeElement(e,t);return r.view=await SharedStorageItemsView.createView(t),r}get itemURL(){return"shared-storage://"}onselect(e){return super.onselect(e),this.resourcesPanel.showView(this.view),!1}}