Reformatted

This commit is contained in:
Finn
2026-01-16 21:58:59 +01:00
parent 1e95252f94
commit d6198fbbad
3 changed files with 7 additions and 3 deletions

View File

@@ -6,6 +6,10 @@ import java.util.Objects;
/**
* Event passed from host into Lua.
*
* @param targetId The ID
* @param type ID
* @param data The data's
*/
public record UiEvent(String targetId, String type, Map<String, Object> data) {

View File

@@ -34,7 +34,7 @@ public interface DomHost {
String getTagName(String elementId);
/**
* Returns the text content of an element (used for inline <script>...).
* Returns the text content of an element
*
* @param elementId element id
* @return text content (never null)

View File

@@ -12,8 +12,8 @@ import java.util.Objects;
/**
* Bootstrap that:
* 1) Executes all Lua scripts found in DOM (<script type="lua"> and <script type="lua" src="...">)
* 2) Scans DOM for on:* handlers and binds them automatically.
* 1) Executes all Lua scripts found in DOM
* * 2) Scans DOM for on:* handlers and binds them automatically.
*/
public final class LuaScriptBootstrap {