add UIKitDialog

This commit is contained in:
2022-03-01 00:14:17 +06:00
parent 2e28334b41
commit c81c1125a0
3 changed files with 42 additions and 3 deletions

View File

@@ -99,9 +99,7 @@ fun Dialog(
}
htmlElement.addEventListener("hidden", wrapper)
val dialog = UIKit.modal("#${htmlElement.id}")
dialog.show()
Unit
UIKit.modal("#${htmlElement.id}").show()
}
}
}