Add icons on PopoverMenu items and allow to add them through PopupMenu API

This commit is contained in:
Stephen Abello
2021-04-21 14:43:31 +02:00
parent 94c8dbac18
commit 9de1f1800d
9 changed files with 141 additions and 3 deletions

View File

@@ -1392,6 +1392,8 @@ class WebPage implements Page
'target' => isset($aAction['target']) ? $aAction['target'] : '',
'url' => $aAction['url'],
'label' => $aAction['label'],
'icon_class' => isset($aAction['icon_class']) ? $aAction['icon_class'] : '',
'tooltip' => isset($aAction['tooltip']) ? $aAction['tooltip'] : '',
];
}