From d88666a0b394dd813692f63fb6221a7092638234 Mon Sep 17 00:00:00 2001 From: NoryiE Date: Sun, 16 Mar 2025 03:04:12 +0000 Subject: [PATCH] deploy: 749040cad159a4221b4dd716a2e542faf0fc241c --- docs/references/elements/Input.md | 1 + .../benchmark_Container : VisualElement.md | 44 +++++++++++++++++++ 2 files changed, 45 insertions(+) create mode 100644 docs/references/plugins/benchmark_Container : VisualElement.md diff --git a/docs/references/elements/Input.md b/docs/references/elements/Input.md index bdffedf..1c3ba87 100644 --- a/docs/references/elements/Input.md +++ b/docs/references/elements/Input.md @@ -16,6 +16,7 @@ cursor movement, text manipulation, placeholder text, and input validation. |focusedForeground|color|white|Foreground color when input is focused |pattern|string?|nil|Regular expression pattern for input validation |cursorColor|number|nil|Color of the cursor +|replaceChar|string|nil|Character to replace the input with (for password fields) ## Functions diff --git a/docs/references/plugins/benchmark_Container : VisualElement.md b/docs/references/plugins/benchmark_Container : VisualElement.md new file mode 100644 index 0000000..28f226a --- /dev/null +++ b/docs/references/plugins/benchmark_Container : VisualElement.md @@ -0,0 +1,44 @@ +# Container : VisualElement + +## Functions + +|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(methodName) +Enables benchmarking for a container and all its children + +### Parameters +* `methodName` `string` The method to benchmark + +### Returns +* `Container` `self` The container instance + +### Usage + ```lua +container:benchmarkContainer("render") +``` + +## Container:logContainerBenchmarks(methodName) +Logs benchmark statistics for a container and all its children + +### Parameters +* `methodName` `string` The method to log + +### Returns +* `Container` `self` The container instance + +## Container:stopContainerBenchmark(methodName) +Stops benchmarking for a container and all its children + +### Parameters +* `methodName` `string` The method to stop benchmarking + +### Returns +* `Container` `self` The container instance + +