Skip to content

Commit

Permalink
doc(components/properties.md): update erroneous closing tags on compo…
Browse files Browse the repository at this point in the history
…nents.

Some of the components had different closing tags to the opening tags specified by the component creation.
  • Loading branch information
JacquesRamsdenGit authored Aug 15, 2024
1 parent c6470d9 commit 8a44092
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions versioned_docs/version-v4.20/components/properties.md
Original file line number Diff line number Diff line change
Expand Up @@ -778,7 +778,7 @@ This component has **3 properties**, but the compiler will create **only 2 attri
`thing-to-do`.

```html
<todo-list-item is-complete="false" thing-to-do="Read Attribute Naming Section of Stencil Docs"></my-cmp>
<todo-list-item is-complete="false" thing-to-do="Read Attribute Naming Section of Stencil Docs"></todo-list-item>
```

Notice that the `httpService` type is not a primitive (e.g. not a `number`, `boolean`, or `string`). Since DOM
Expand Down Expand Up @@ -810,7 +810,7 @@ By using this option, we are being explicit about which properties have an assoc
when using the component in HTML.

```html
<todo-list-item complete="false" thing="Read Attribute Naming Section of Stencil Docs" my-service="{}"></my-cmp>
<todo-list-item complete="false" thing="Read Attribute Naming Section of Stencil Docs" my-service="{}"></todo-list-item>
```

### Prop Mutability (`mutable`)
Expand Down

0 comments on commit 8a44092

Please sign in to comment.