add 'ondefocus' ui event

This commit is contained in:
MihailRis
2025-04-24 22:41:40 +03:00
parent e6dea9ed48
commit 9befbb9795
3 changed files with 15 additions and 2 deletions
+4
View File
@@ -180,6 +180,10 @@ static void read_uinode(
node.listenAction(onclick);
}
if (auto ondefocus = create_action(reader, element, "ondefocus")) {
node.listenDefocus(ondefocus);
}
if (auto ondoubleclick = create_action(reader, element, "ondoubleclick")) {
node.listenDoubleClick(ondoubleclick);
}