[DOC] misc small fixes

closes #827, #825, #822, #821
This commit is contained in:
Géry Debongnie
2021-02-03 13:37:25 +01:00
committed by aab-odoo
parent 490cf18079
commit af426aa902
4 changed files with 9 additions and 9 deletions
+1 -1
View File
@@ -771,7 +771,7 @@ template rendered with `props`. In Owl, this can be done by
simply defining a template, that will access the `props` object:
```js
const Welcome = xml`<h1>Hello, {props.name}</h1>`;
const Welcome = xml`<h1>Hello, <t t-esc="props.name"/></h1>`;
class MyComponent extends Component {
static template = xml`