fix(hermes-web-cli): remove unnecessary binds from Menu widget
Menu widget automatically handles item_click events when url and target are provided in menu items, so explicit binds are not needed.
This commit is contained in:
parent
930ed6dea7
commit
450820d9ed
@ -91,20 +91,7 @@
|
|||||||
],
|
],
|
||||||
"item_cheight": 40,
|
"item_cheight": 40,
|
||||||
"menuitem_css": "menuitem"
|
"menuitem_css": "menuitem"
|
||||||
},
|
}
|
||||||
"binds": [
|
|
||||||
{
|
|
||||||
"wid": "self",
|
|
||||||
"event": "item_click",
|
|
||||||
"actiontype": "urlwidget",
|
|
||||||
"target": "main-content",
|
|
||||||
"options": {
|
|
||||||
"url": "{{params.url}}",
|
|
||||||
"params": {}
|
|
||||||
},
|
|
||||||
"mode": "replace"
|
|
||||||
}
|
|
||||||
]
|
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"widgettype": "VBox",
|
"widgettype": "VBox",
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user