File tree Expand file tree Collapse file tree 2 files changed +6
-3
lines changed Expand file tree Collapse file tree 2 files changed +6
-3
lines changed Original file line number Diff line number Diff line change 1- import { Component , useState } from "@odoo/owl" ;
1+ import { Component , useState , markup } from "@odoo/owl" ;
22import { Counter } from "./counter/counter"
33import { Card } from "./card/card" ;
44
55export class Playground extends Component {
66 static template = "awesome_owl.Playground" ;
77 static components = { Counter, Card } ;
88
9+ value1 = "<div class='text-primary'>test</div>" ;
10+ value2 = markup ( "<a href='odoo.com'>test2</a>" ) ;
11+
912 setup ( ) {
1013 }
1114
Original file line number Diff line number Diff line change 1010 <Counter />
1111 </div >
1212 <div >
13- <Card title =" 'card 1'" content =" 'content of card 1' " />
14- <Card title =" 'card 2'" content =" 'content of card 2' " />
13+ <Card title =" 'card 1'" content =" value1 " />
14+ <Card title =" 'card 2'" content =" value2 " />
1515 </div >
1616 </t >
1717
You can’t perform that action at this time.
0 commit comments