File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed
Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -205,10 +205,10 @@ dom.body.append(
205205```
206206
207207This example demonstrates a declaritive way to add elements to the body of the
208- DOM. Notice how the first (unnamed) arguments to an element are its child. The
209- named arguments (such as ` id ` , ` classes ` and ` style ` ) refer to attributes of
210- the underlying HTML element. If you'd rather be explicit about the children of
211- an element, you can always pass in a list of such elements as the named
208+ DOM. Notice how the first (unnamed) arguments to an element are its children.
209+ The named arguments (such as ` id ` , ` classes ` and ` style ` ) refer to attributes
210+ of the underlying HTML element. If you'd rather be explicit about the children
211+ of an element, you can always pass in a list of such elements as the named
212212` children ` argument (you see this in the final ` div ` in the example above).
213213
214214Of course, you can achieve similar results in an imperative style of
You can’t perform that action at this time.
0 commit comments