添加新的东西
This commit is contained in:
parent
f1f0ffc978
commit
a536d4a995
1325
dart-js/out.js
1325
dart-js/out.js
File diff suppressed because one or more lines are too long
@ -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,
|
||||
};
|
||||
|
Loading…
Reference in New Issue
Block a user