[IMP] web: enable action menu on mobile

This commit creates the required hooks to implement this feature.

Task ID: 1879566
This commit is contained in:
Romain Estievenart
2020-10-21 14:45:40 +00:00
committed by Pierre Paridans
parent e1f605bef8
commit f9193fa417
3 changed files with 13 additions and 2 deletions
+1 -1
View File
@@ -162,7 +162,7 @@
<i t-if="icon" t-att-class="icon"/>
<span class="o_dropdown_title" t-esc="title"/>
<i t-if="displayCaret" t-attf-class="o_dropdown_caret fa fa-caret-{{ state.open ? 'down' : 'right' }}"/>
<i t-elif="displayChevron" t-attf-class="fa fa-chevron-{{ state.open ? 'down' : 'right' }} float-right mt4"/>
<i t-elif="displayChevron" t-attf-class="o_dropdown_chevron fa fa-chevron-{{ state.open ? 'down' : 'right' }} float-right mt4"/>
</button>
<ul t-if="state.open" t-attf-class="o_dropdown_menu dropdown-menu {{ dropdownMenuAlignClass }} show" role="menu"
t-on-item-selected="_onItemSelected"