import{_ as a,a as t,b as n,ag as l}from"./chunks/framework.BcrMLAmg.js";const c=JSON.parse('{"title":"ElementManager","description":"","frontmatter":{},"headers":[],"relativePath":"references/elementManager.md","filePath":"references/elementManager.md","lastUpdated":1757840145000}'),r={name:"references/elementManager.md"};function s(i,e,m,o,d,h){return n(),t("div",null,e[0]||(e[0]=[l('

ElementManager

This class manages elements and plugins. It loads elements and plugins from the elements and plugins directoriesand then applies the plugins to the elements. It also provides a way to get elements and APIs.

Functions

MethodReturnsDescription
ElementManager.loadElement-Loads an element by name. This will load the element and apply any plugins to it.
ElementManager.getElementtableGets an element by name. If the element is not loaded, it will try to load it first.
ElementManager.getElementListtableGets a list of all elements
ElementManager.getAPItableGets an Plugin API by name

ElementManager.loadElement(name)

Loads an element by name. This will load the element and apply any plugins to it.

Parameters

Usage

lua
ElementManager.loadElement("Button")

ElementManager.getElement(name)

Gets an element by name. If the element is not loaded, it will try to load it first.

Parameters

Returns

ElementManager.getElementList()

Gets a list of all elements

Returns

ElementManager.getAPI(name)

Gets an Plugin API by name

Parameters

Returns

',26)]))}const u=a(r,[["render",s]]);export{c as __pageData,u as default};