add IRouter interface

This commit is contained in:
Géry Debongnie
2019-01-26 18:12:54 +01:00
parent bfa76e9de5
commit c3fa3042dc
5 changed files with 18 additions and 8 deletions
+1
View File
@@ -9,6 +9,7 @@ const template = `
<button t-on-click="resetCounter">Reset first counter</button>
<button t-on-click="resetCounterAsync">Reset counter 2 in 3s</button>
<button t-on-click="toggle">Toggle Clock/counters</button>
<button t-on-click="updateState({})">Rerender this widget</button>
<input/>
<t t-if="state.validcounter">
<t t-widget="Counter" t-ref="counter" t-props="{initialState:4}"/>