Correct example code in docs for DivElement class

Closes https://github.com/dart-lang/sdk/pull/53128

GitOrigin-RevId: 52d7b08f3b94439de5752655f06988f63ec24144
Change-Id: I8d87eacc961a7899509c8244f1a0efe4d9a9a8b1
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/318580
Reviewed-by: Srujan Gaddam <srujzs@google.com>
Commit-Queue: Srujan Gaddam <srujzs@google.com>
Reviewed-by: Sigmund Cherem <sigmund@google.com>
This commit is contained in:
Dom Jocubeit
2023-08-08 17:25:35 +00:00
committed by Commit Queue
parent ed0544a43a
commit f53a1f1cdd
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -9823,7 +9823,7 @@ class DirectoryReader extends JavaScriptObject {
* Example usage:
*
* DivElement div = new DivElement();
* div.text = 'Here's my new DivElem
* div.text = 'Here is my new DivElem';
* document.body.elements.add(elem);
*
* See also:
+1 -1
View File
@@ -1893,7 +1893,7 @@
" * Example usage:",
" *",
" * DivElement div = new DivElement();",
" * div.text = 'Here's my new DivElem",
" * div.text = 'Here is my new DivElem';",
" * document.body.elements.add(elem);",
" *",
" * See also:",