mirror of
https://github.com/odoo/owl.git
synced 2025-10-06 19:59:41 +07:00
[IMP] playground: use custom events bubbling
This commit is contained in:
committed by
Géry Debongnie
parent
32921ecc20
commit
0be1a54e03
@@ -11,7 +11,9 @@
|
|||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div t-name="App" class="playground">
|
<div t-name="App" class="playground">
|
||||||
<div class="left-bar" t-att-style="leftPaneStyle" t-att-class="{split: state.splitLayout}">
|
<div class="left-bar" t-att-class="{split: state.splitLayout}"
|
||||||
|
t-att-style="leftPaneStyle"
|
||||||
|
t-on-updateCode="updateCode">
|
||||||
<div class="menubar">
|
<div class="menubar">
|
||||||
<a class="btn run-code flash" t-on-click="runCode" title="Execute this Code">▶ Run</a>
|
<a class="btn run-code flash" t-on-click="runCode" title="Execute this Code">▶ Run</a>
|
||||||
<select t-on-change="setSample">
|
<select t-on-change="setSample">
|
||||||
@@ -26,7 +28,6 @@
|
|||||||
js="state.js"
|
js="state.js"
|
||||||
css="!state.splitLayout and state.css"
|
css="!state.splitLayout and state.css"
|
||||||
xml="!state.splitLayout and state.js"
|
xml="!state.splitLayout and state.js"
|
||||||
t-on-updateCode="updateCode"
|
|
||||||
t-att-style="topEditorStyle"/>
|
t-att-style="topEditorStyle"/>
|
||||||
<t t-if="state.splitLayout">
|
<t t-if="state.splitLayout">
|
||||||
<div class="separator horizontal"/>
|
<div class="separator horizontal"/>
|
||||||
@@ -35,7 +36,6 @@
|
|||||||
css="state.css"
|
css="state.css"
|
||||||
xml="state.xml"
|
xml="state.xml"
|
||||||
resizeable="true"
|
resizeable="true"
|
||||||
t-on-updateCode="updateCode"
|
|
||||||
t-on-updatePanelHeight="updatePanelHeight"/>
|
t-on-updatePanelHeight="updatePanelHeight"/>
|
||||||
</t>
|
</t>
|
||||||
</div>
|
</div>
|
||||||
|
|||||||
Reference in New Issue
Block a user