Skip to content

Commit

Permalink
Update docs/nodes/widgets/ui-template.md
Browse files Browse the repository at this point in the history
Co-authored-by: Stephen McLaughlin <[email protected]>
  • Loading branch information
joepavitt and Steve-Mcl authored Jun 17, 2024
1 parent 714d048 commit 958cbea
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/nodes/widgets/ui-template.md
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@ or even use `msg.payload` as a condition:
<p :class="msg.payload === 'error' ? 'text-error' : 'text-info'">Hello World</p>
````

- **Text Interpolation** - Use `{{ }}` to interpolate a variable into the text of an element. Similarly to above, anything here is treated as Javascript. For example:
- **Text Interpolation** - Use `{{ }}` to interpolate a variable into the text of an element. Anything inside the curly brackets is treated as JavaScript. For example:

```html
<p>Hello {{ msg.payload }}</p>
Expand Down

0 comments on commit 958cbea

Please sign in to comment.