deploy: 2dc08bc3a3
This commit is contained in:
@@ -6,16 +6,16 @@ with support for sequences, easing functions, and multiple animation types.
|
||||
|
||||
|Method|Returns|Description|
|
||||
|---|---|---|
|
||||
|[Animation.new](#Animation.new)|Animation|Creates a new animation
|
||||
|[Animation.registerAnimation](#Animation.registerAnimation)|-|Registers a custom animation type
|
||||
|[Animation.registerEasing](#Animation.registerEasing)|-|Adds a custom easing function
|
||||
|[Animation:addAnimation](#Animation:addAnimation)|-|Adds a new animation to the sequence
|
||||
|[Animation:event](#Animation:event)|-|The event handler for the animation
|
||||
|[Animation:onComplete](#Animation:onComplete)|Animation|Registers a callback for the complete event
|
||||
|[Animation:onStart](#Animation:onStart)|-|Registers a callback for the start event
|
||||
|[Animation:onUpdate](#Animation:onUpdate)|Animation|Registers a callback for the update event
|
||||
|[Animation:sequence](#Animation:sequence)|Animation|Creates a new sequence
|
||||
|[Animation:start](#Animation:start)|Animation|Starts the animation
|
||||
|[Animation.new](#animation-new)|Animation|Creates a new animation
|
||||
|[Animation.registerAnimation](#animation-registeranimation)|-|Registers a custom animation type
|
||||
|[Animation.registerEasing](#animation-registereasing)|-|Adds a custom easing function
|
||||
|[Animation:addAnimation](#animation-addanimation)|-|Adds a new animation to the sequence
|
||||
|[Animation:event](#animation-event)|-|The event handler for the animation
|
||||
|[Animation:onComplete](#animation-oncomplete)|Animation|Registers a callback for the complete event
|
||||
|[Animation:onStart](#animation-onstart)|-|Registers a callback for the start event
|
||||
|[Animation:onUpdate](#animation-onupdate)|Animation|Registers a callback for the update event
|
||||
|[Animation:sequence](#animation-sequence)|Animation|Creates a new sequence
|
||||
|[Animation:start](#animation-start)|Animation|Starts the animation
|
||||
|
||||
|
||||
## Animation.new(element)
|
||||
|
||||
@@ -18,10 +18,10 @@ This is the AnimationInstance class. It represents a single animation instance
|
||||
|
||||
|Method|Returns|Description|
|
||||
|---|---|---|
|
||||
|[AnimationInstance.new](#AnimationInstance.new)|AnimationInstance|Creates a new animation instance
|
||||
|[AnimationInstance:complete](#AnimationInstance:complete)|-|Called when the animation is completed
|
||||
|[AnimationInstance:start](#AnimationInstance:start)|AnimationInstance|Starts the animation
|
||||
|[AnimationInstance:update](#AnimationInstance:update)|boolean|Updates the animation
|
||||
|[AnimationInstance.new](#animationinstance-new)|AnimationInstance|Creates a new animation instance
|
||||
|[AnimationInstance:complete](#animationinstance-complete)|-|Called when the animation is completed
|
||||
|[AnimationInstance:start](#animationinstance-start)|AnimationInstance|Starts the animation
|
||||
|[AnimationInstance:update](#animationinstance-update)|boolean|Updates the animation
|
||||
|
||||
|
||||
## AnimationInstance.new(element, animType, args, duration, easing)
|
||||
|
||||
@@ -5,7 +5,7 @@ Adds additional methods for VisualElement when adding animation plugin
|
||||
|
||||
|Method|Returns|Description|
|
||||
|---|---|---|
|
||||
|[VisualElement:animate](#VisualElement:animate)|Animation|Creates a new animation
|
||||
|[VisualElement:animate](#visualelement-animate)|Animation|Creates a new animation
|
||||
|
||||
|
||||
## VisualElement:animate()
|
||||
|
||||
@@ -5,11 +5,11 @@ Benchmark API methods
|
||||
|
||||
|Method|Returns|Description|
|
||||
|---|---|---|
|
||||
|[API.clear](#API.clear)|-|Removes a benchmark's data
|
||||
|[API.clearAll](#API.clearAll)|-|Removes all custom benchmark data
|
||||
|[API.getStats](#API.getStats)|table?|Retrieves benchmark statistics
|
||||
|[API.start](#API.start)|-|Starts timing a custom operation
|
||||
|[API.stop](#API.stop)|-|Stops timing and logs results
|
||||
|[API.clear](#api-clear)|-|Removes a benchmark's data
|
||||
|[API.clearAll](#api-clearall)|-|Removes all custom benchmark data
|
||||
|[API.getStats](#api-getstats)|table?|Retrieves benchmark statistics
|
||||
|[API.start](#api-start)|-|Starts timing a custom operation
|
||||
|[API.stop](#api-stop)|-|Stops timing and logs results
|
||||
|
||||
|
||||
## API.clear(name)
|
||||
|
||||
@@ -7,12 +7,12 @@ The following methods are available for BaseElement
|
||||
|
||||
|Method|Returns|Description|
|
||||
|---|---|---|
|
||||
|[BaseElement:benchmark](#BaseElement:benchmark)|BaseElement|Enables performance measurement for a method
|
||||
|[BaseElement:endProfile](#BaseElement:endProfile)|BaseElement|Ends timing a method call and records statistics
|
||||
|[BaseElement:getBenchmarkStats](#BaseElement:getBenchmarkStats)|table?|Retrieves benchmark statistics for a method
|
||||
|[BaseElement:logBenchmark](#BaseElement:logBenchmark)|BaseElement|Logs benchmark statistics for a method
|
||||
|[BaseElement:startProfile](#BaseElement:startProfile)|BaseElement|Starts timing a method call
|
||||
|[BaseElement:stopBenchmark](#BaseElement:stopBenchmark)|BaseElement|Disables performance measurement for a method
|
||||
|[BaseElement:benchmark](#baseelement-benchmark)|BaseElement|Enables performance measurement for a method
|
||||
|[BaseElement:endProfile](#baseelement-endprofile)|BaseElement|Ends timing a method call and records statistics
|
||||
|[BaseElement:getBenchmarkStats](#baseelement-getbenchmarkstats)|table?|Retrieves benchmark statistics for a method
|
||||
|[BaseElement:logBenchmark](#baseelement-logbenchmark)|BaseElement|Logs benchmark statistics for a method
|
||||
|[BaseElement:startProfile](#baseelement-startprofile)|BaseElement|Starts timing a method call
|
||||
|[BaseElement:stopBenchmark](#baseelement-stopbenchmark)|BaseElement|Disables performance measurement for a method
|
||||
|
||||
|
||||
## BaseElement:benchmark(methodName)
|
||||
|
||||
@@ -4,9 +4,9 @@
|
||||
|
||||
|Method|Returns|Description|
|
||||
|---|---|---|
|
||||
|[Container:benchmarkContainer](#Container:benchmarkContainer)|Container|Recursively enables benchmarking
|
||||
|[Container:logContainerBenchmarks](#Container:logContainerBenchmarks)|Container|Recursively logs benchmark statistics
|
||||
|[Container:stopContainerBenchmark](#Container:stopContainerBenchmark)|Container|Recursively stops benchmarking
|
||||
|[Container:benchmarkContainer](#container-benchmarkcontainer)|Container|Recursively enables benchmarking
|
||||
|[Container:logContainerBenchmarks](#container-logcontainerbenchmarks)|Container|Recursively logs benchmark statistics
|
||||
|[Container:stopContainerBenchmark](#container-stopcontainerbenchmark)|Container|Recursively stops benchmarking
|
||||
|
||||
|
||||
## Container:benchmarkContainer(methodName)
|
||||
|
||||
@@ -5,8 +5,8 @@ No Description
|
||||
|
||||
|Method|Returns|Description|
|
||||
|---|---|---|
|
||||
|[BaseElement.debug](#BaseElement.debug)|-|Enables debugging for this element
|
||||
|[BaseElement.dumpDebug](#BaseElement.dumpDebug)|-|Dumps debug information
|
||||
|[BaseElement.debug](#baseelement-debug)|-|Enables debugging for this element
|
||||
|[BaseElement.dumpDebug](#baseelement-dumpdebug)|-|Dumps debug information
|
||||
|
||||
|
||||
## BaseElement.debug(self, level)
|
||||
@@ -32,9 +32,9 @@ Dumps debug information for this element
|
||||
|
||||
|Method|Returns|Description|
|
||||
|---|---|---|
|
||||
|[BaseFrame.hideDebugLog](#BaseFrame.hideDebugLog)|-|Hides the debug log frame
|
||||
|[BaseFrame.showDebugLog](#BaseFrame.showDebugLog)|-|Shows the debug log frame
|
||||
|[BaseFrame.toggleDebugLog](#BaseFrame.toggleDebugLog)|-|Toggles the debug log frame
|
||||
|[BaseFrame.hideDebugLog](#baseframe-hidedebuglog)|-|Hides the debug log frame
|
||||
|[BaseFrame.showDebugLog](#baseframe-showdebuglog)|-|Shows the debug log frame
|
||||
|[BaseFrame.toggleDebugLog](#baseframe-toggledebuglog)|-|Toggles the debug log frame
|
||||
|
||||
|
||||
## BaseFrame.hideDebugLog(self)
|
||||
@@ -65,7 +65,7 @@ Toggles the debug log frame
|
||||
|
||||
|Method|Returns|Description|
|
||||
|---|---|---|
|
||||
|[Container.debugChildren](#Container.debugChildren)|-|Debug container and children
|
||||
|[Container.debugChildren](#container-debugchildren)|-|Debug container and children
|
||||
|
||||
|
||||
## Container.debugChildren(self, level)
|
||||
|
||||
@@ -6,12 +6,12 @@ persistent states, computed states, and state sharing between elements.
|
||||
|
||||
|Method|Returns|Description|
|
||||
|---|---|---|
|
||||
|[BaseElement:computed](#BaseElement:computed)|BaseElement|Creates a computed state
|
||||
|[BaseElement:getState](#BaseElement:getState)|any|Gets a state value
|
||||
|[BaseElement:initializeState](#BaseElement:initializeState)|BaseElement|Initializes a new state
|
||||
|[BaseElement:onStateChange](#BaseElement:onStateChange)|BaseElement|Watches for state changes
|
||||
|[BaseElement:setState](#BaseElement:setState)|BaseElement|Sets a state value
|
||||
|[BaseElement:shareState](#BaseElement:shareState)|BaseElement|Shares state between elements
|
||||
|[BaseElement:computed](#baseelement-computed)|BaseElement|Creates a computed state
|
||||
|[BaseElement:getState](#baseelement-getstate)|any|Gets a state value
|
||||
|[BaseElement:initializeState](#baseelement-initializestate)|BaseElement|Initializes a new state
|
||||
|[BaseElement:onStateChange](#baseelement-onstatechange)|BaseElement|Watches for state changes
|
||||
|[BaseElement:setState](#baseelement-setstate)|BaseElement|Sets a state value
|
||||
|[BaseElement:shareState](#baseelement-sharestate)|BaseElement|Shares state between elements
|
||||
|
||||
|
||||
## BaseElement:computed(self, key, computeFn)
|
||||
|
||||
@@ -6,8 +6,8 @@ with support for inheritance, named styles, and dynamic theme switching.
|
||||
|
||||
|Method|Returns|Description|
|
||||
|---|---|---|
|
||||
|[BaseElement:applyTheme](#BaseElement:applyTheme)|BaseElement|Applies theme styles to the element
|
||||
|[BaseElement:getTheme](#BaseElement:getTheme)|table|Gets theme properties for the element
|
||||
|[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)
|
||||
@@ -39,9 +39,9 @@ The Theme API provides methods for managing themes globally
|
||||
|
||||
|Method|Returns|Description|
|
||||
|---|---|---|
|
||||
|[ThemeAPI.getTheme](#ThemeAPI.getTheme)|table|Gets the current theme
|
||||
|[ThemeAPI.loadTheme](#ThemeAPI.loadTheme)|-|Loads theme from JSON file
|
||||
|[ThemeAPI.setTheme](#ThemeAPI.setTheme)|-|Sets a new theme
|
||||
|[ThemeAPI.getTheme](#themeapi-gettheme)|table|Gets the current theme
|
||||
|[ThemeAPI.loadTheme](#themeapi-loadtheme)|-|Loads theme from JSON file
|
||||
|[ThemeAPI.setTheme](#themeapi-settheme)|-|Sets a new theme
|
||||
|
||||
|
||||
## ThemeAPI.getTheme()
|
||||
|
||||
Reference in New Issue
Block a user