Skip to content

Commit 33c0a12

Browse files
committed
Document title in menuItems
1 parent 0c6fd96 commit 33c0a12

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

src/configuration/ViewerConfiguration.md

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -187,9 +187,10 @@ As a special case, entries for opening external URLs can be defined as follows:
187187
| Setting | Description |
188188
|------------------------|-----------------------------------------------------------------------------------|
189189
|`{` | |
190-
|`⁣  "key": "<key>",` | An arbitrary key (not used by existing plugins), used to lookup the label for the entry from the translations. |
190+
|`⁣  "key": "<key>",` | An arbitrary key (not used by existing plugins), used to lookup the label for the entry from the translations (as `appmenu.items.<key>`). |
191+
|`⁣  "title": "<key>",` | Optional: Title to use insead of `appmenu.items.<key>`. |
191192
|`⁣  "icon": "<icon>",` | As above. |
192-
|`⁣  "url": "<url>",` | The URL to open. Can contain as placeholders the keys listed in [URL Parameters](../topics/Interfacing.md#url-parameters), encolsed in `$` (i.e. `$e$` for the extent). In addition, the placeholders `$x$` and `$y$` for the individual map center coordinates are also supported. |
193+
|`⁣  "url": "<url>",` | The URL to open. Can contain as placeholders the keys listed in [URL Parameters](../topics/Interfacing.md#url-parameters), encolsed in `$` (i.e. `$e$` for the extent). In addition, the placeholders `$x$` and `$y$` for the individual map center coordinates are also supported. |
193194
|`⁣  "target": "<target>"`| The target where to open the URL, if empty, `_blank` is assumed. Can be `iframe` to open the link in a iframe window inside QWC2. |
194195
|`}` | |
195196

0 commit comments

Comments
 (0)