Added image/video control and property manipulation

This commit is contained in:
UnlegitDqrk
2026-02-28 16:56:30 +01:00
parent aa629b9237
commit a84c626416
21 changed files with 1708 additions and 60 deletions

View File

@@ -147,4 +147,19 @@ public interface DomHost {
* @return list of ids (never null)
*/
List<String> queryByClass(String className);
/**
* Sets a DOM property (e.g. video.currentTime, video.volume).
*/
void setProperty(String elementId, String property, Object value);
/**
* Gets a DOM property.
*/
Object getProperty(String elementId, String property);
/**
* Invokes a DOM method (e.g. video.play()).
*/
Object call(String elementId, String method, Object... args);
}