mirror of
https://github.com/odoo/owl.git
synced 2025-10-06 19:59:41 +07:00
add attributes module in widget (+lint)
This commit is contained in:
+2
-2
@@ -1,9 +1,9 @@
|
||||
import Widget from "../../src/core/widget";
|
||||
|
||||
const template = `
|
||||
<div>
|
||||
<div t-debug="1">
|
||||
<button t-on-click="increment(-1)">-</button>
|
||||
<span>Value: <t t-esc="state.counter"/></span>
|
||||
<span style="font-weight:bold">Value: <t t-esc="state.counter"/></span>
|
||||
<button t-on-click="increment(1)">+</button>
|
||||
</div>
|
||||
`;
|
||||
|
||||
Reference in New Issue
Block a user