Skip to content
This repository has been archived by the owner on Oct 9, 2022. It is now read-only.

Commit

Permalink
Update dom.rst
Browse files Browse the repository at this point in the history
  • Loading branch information
sanity committed Dec 8, 2020
1 parent 7ea2d21 commit 91b62ae
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions dom.rst
Original file line number Diff line number Diff line change
Expand Up @@ -70,11 +70,11 @@ The DSL syntax makes it very easy to create elements and their children together
li().text("Two")
}
However we can also use the `new {}` function on `Element`s to add children to a pre-existing element:
However we can also use the `new {}` function on Elements to add children to a pre-existing Element:

.. code-block:: kotlin
val unorderedList : = ul()
val unorderedList : ULElement = ul()
unorderedList.new {
li().text("One")
li().text("Two")
Expand Down

0 comments on commit 91b62ae

Please sign in to comment.