Add support for top, left, bottom, right menus.

This commit is contained in:
Dermot Duffy
2021-09-02 20:24:19 -07:00
parent bd06765b7c
commit 64de1c53ed
5 changed files with 73 additions and 41 deletions
+8 -2
View File
@@ -105,8 +105,14 @@ export class FrigateCardEditor extends LitElement implements LovelaceCardEditor
const menuModes = {
'': '',
hidden: 'Hidden',
overlay: 'Overlay',
'hidden-top': 'Hidden Top',
'hidden-left': 'Hidden Left',
'hidden-bottom': 'Hidden Bottom',
'hidden-right': 'Hidden Right',
'overlay-top': 'Overlay Top',
'overlay-left': 'Overlay Left',
'overlay-bottom': 'Overlay Bottom',
'overlay-right': 'Overlay Right',
above: 'Above',
below: 'Below',
};