We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f43aee8 commit 1172354Copy full SHA for 1172354
web/example/example.dart
@@ -6,5 +6,5 @@ import 'package:web/web.dart';
6
7
void main() {
8
final div = document.querySelector('div')!;
9
- div.text = 'Text set at ${DateTime.now()}';
+ div.textContent = 'Text set at ${DateTime.now()}';
10
}
0 commit comments