添加新的东西

This commit is contained in:
shenjack 2024-03-23 09:57:06 +08:00
parent f1f0ffc978
commit a536d4a995
Signed by: shenjack
GPG Key ID: 7B1134A979775551
2 changed files with 1225 additions and 107 deletions

File diff suppressed because one or more lines are too long

View File

@ -112,6 +112,11 @@ void main() {
// Find all elements by tag (<div>).
List<Element> divElements = querySelectorAll('div');
// call setTimeout
Js.context.callMethod('setTimeout', [Js.allowInterop(() {
print("延时1秒执行");
}), 1000]);
Map<String, int> test_map = {
"a": 1,
};