add attributes module in widget (+lint)

This commit is contained in:
Géry Debongnie
2019-01-21 14:38:44 +01:00
parent a3bf470930
commit fbf099f1f3
5 changed files with 27 additions and 13 deletions
+2 -2
View File
@@ -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>
`;