|
+|`overlay`| Overlay the menu on top of the card contents. The 'F' button shows the default view. |
|
+|`above`| Render the menu above the card. The 'F' button shows the default view. |
|
+|`below`| Render the menu below the card. The 'F' button shows the default view. |
|
+
diff --git a/images/menu-mode-above.png b/images/menu-mode-above.png
new file mode 100644
index 00000000..f92c5ab2
Binary files /dev/null and b/images/menu-mode-above.png differ
diff --git a/images/menu-mode-below.png b/images/menu-mode-below.png
new file mode 100644
index 00000000..ea231a96
Binary files /dev/null and b/images/menu-mode-below.png differ
diff --git a/images/menu-mode-hidden.png b/images/menu-mode-hidden.png
new file mode 100644
index 00000000..591b4066
Binary files /dev/null and b/images/menu-mode-hidden.png differ
diff --git a/images/menu-mode-overlay.png b/images/menu-mode-overlay.png
new file mode 100644
index 00000000..4a403182
Binary files /dev/null and b/images/menu-mode-overlay.png differ
diff --git a/src/editor.ts b/src/editor.ts
index 22e53907..5c617388 100644
--- a/src/editor.ts
+++ b/src/editor.ts
@@ -103,6 +103,14 @@ export class FrigateCardEditor extends LitElement implements LovelaceCardEditor
snapshot: 'Latest snapshot',
};
+ const menuModes = {
+ '': '',
+ hidden: 'Hidden',
+ overlay: 'Overlay',
+ above: 'Above',
+ below: 'Below',
+ };
+
const liveProvider = {
'': '',
frigate: 'Frigate',
@@ -195,6 +203,24 @@ export class FrigateCardEditor extends LitElement implements LovelaceCardEditor
})}
+