This commit is contained in:
NoryiE
2025-02-24 22:13:57 +00:00
parent 5513bf4072
commit c3f9dfa735
38 changed files with 42 additions and 0 deletions

View File

@@ -17,6 +17,7 @@ with support for sequences, easing functions, and multiple animation types.
|[Animation:sequence](#Animation:sequence)|Animation|Creates a new sequence
|[Animation:start](#Animation:start)|Animation|Starts the animation
## Animation.new(element)
Creates a new Animation

View File

@@ -23,6 +23,7 @@ This is the AnimationInstance class. It represents a single animation instance
|[AnimationInstance:start](#AnimationInstance:start)|AnimationInstance|Starts the animation
|[AnimationInstance:update](#AnimationInstance:update)|boolean|Updates the animation
## AnimationInstance.new(element, animType, args, duration, easing)
Creates a new AnimationInstance

View File

@@ -7,6 +7,7 @@ Adds additional methods for VisualElement when adding animation plugin
|---|---|---|
|[VisualElement:animate](#VisualElement:animate)|Animation|Creates a new animation
## VisualElement:animate()
Creates a new Animation Object

View File

@@ -11,6 +11,7 @@ Benchmark API methods
|[API.start](#API.start)|-|Starts timing a custom operation
|[API.stop](#API.stop)|-|Stops timing and logs results
## API.clear(name)
Clears a specific benchmark

View File

@@ -14,6 +14,7 @@ The following methods are available for BaseElement
|[BaseElement:startProfile](#BaseElement:startProfile)|BaseElement|Starts timing a method call
|[BaseElement:stopBenchmark](#BaseElement:stopBenchmark)|BaseElement|Disables performance measurement for a method
## BaseElement:benchmark(methodName)
Enables benchmarking for a method

View File

@@ -9,6 +9,7 @@ Container benchmarking methods
|[Container:logContainerBenchmarks](#Container:logContainerBenchmarks)|Container|Recursively logs benchmark statistics
|[Container:stopContainerBenchmark](#Container:stopContainerBenchmark)|Container|Recursively stops benchmarking
## Container:benchmarkContainer(methodName)
Enables benchmarking for a container and all its children

View File

@@ -8,6 +8,7 @@ No Description
|[BaseElement.debug](#BaseElement.debug)|-|Enables debugging for this element
|[BaseElement.dumpDebug](#BaseElement.dumpDebug)|-|Dumps debug information
## BaseElement.debug(self, level)
Enables debugging for this element
@@ -35,6 +36,7 @@ Dumps debug information for this element
|[BaseFrame.showDebugLog](#BaseFrame.showDebugLog)|-|Shows the debug log frame
|[BaseFrame.toggleDebugLog](#BaseFrame.toggleDebugLog)|-|Toggles the debug log frame
## BaseFrame.hideDebugLog(self)
Hides the debug log frame
@@ -65,6 +67,7 @@ Toggles the debug log frame
|---|---|---|
|[Container.debugChildren](#Container.debugChildren)|-|Debug container and children
## Container.debugChildren(self, level)
Enables debugging for this container and all its children

View File

@@ -8,3 +8,4 @@ It is used to evaluate expressions in property values and update the element whe
|---|---|---|

View File

@@ -13,6 +13,7 @@ persistent states, computed states, and state sharing between elements.
|[BaseElement:setState](#BaseElement:setState)|BaseElement|Sets a state value
|[BaseElement:shareState](#BaseElement:shareState)|BaseElement|Shares state between elements
## BaseElement:computed(self, key, computeFn)
Creates a computed state that derives its value from other states

View File

@@ -9,6 +9,7 @@ with support for inheritance, named styles, and dynamic theme switching.
|[BaseElement:applyTheme](#BaseElement:applyTheme)|BaseElement|Applies theme styles to the element
|[BaseElement:getTheme](#BaseElement:getTheme)|table|Gets theme properties for the element
## BaseElement:applyTheme(self)
Applies the current theme to this element
@@ -42,6 +43,7 @@ The Theme API provides methods for managing themes globally
|[themeAPI.loadTheme](#themeAPI.loadTheme)|-|Loads theme from JSON file
|[themeAPI.setTheme](#themeAPI.setTheme)|-|Sets a new theme
## themeAPI.getTheme()
Gets the current theme configuration

View File

@@ -7,6 +7,7 @@ The XML plugin provides XML parsing and UI creation from XML markup
|---|---|---|
|[BaseElement:fromXML](#BaseElement:fromXML)|BaseElement|Creates element from XML node
## BaseElement:fromXML(self, node)
Creates an element from an XML node
@@ -29,6 +30,7 @@ Creates an element from an XML node
|---|---|---|
|[Container:loadXML](#Container:loadXML)|Container|Loads UI from XML string
## Container:loadXML(self, content, scope?)
Loads and creates UI elements from XML content
local xml = [[