Skip to content

Commit

Permalink
Update README.md (#117)
Browse files Browse the repository at this point in the history
  • Loading branch information
devoncarew authored Dec 6, 2023
1 parent 34b3618 commit 0ae45ec
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ import 'package:web/web.dart';
void main() {
final div = document.querySelector('div') as HTMLDivElement;
div.textContent = 'Text set at ${DateTime.now()}';
div.text = 'Text set at ${DateTime.now()}';
}
```

Expand Down

0 comments on commit 0ae45ec

Please sign in to comment.