From 9fbb3be53b04a0e6c854ecfa298290df5c17bc12 Mon Sep 17 00:00:00 2001 From: ni-richard Date: Fri, 13 Sep 2019 23:33:07 +0200 Subject: [PATCH] Created frontend.site (markdown) --- frontend.site.md | 25 +++++++++++++++++++++++++ 1 file changed, 25 insertions(+) create mode 100644 frontend.site.md diff --git a/frontend.site.md b/frontend.site.md new file mode 100644 index 0000000..e928a61 --- /dev/null +++ b/frontend.site.md @@ -0,0 +1,25 @@ +* **Description**: Configures the site's main properties. +* **Subscribers**: *(none)* + +```json +{ + "key": "frontend.site", + "scope": "websocket" +} +``` + +| Parameter | Type | Required | Description | +| ------------ |:--------:|:------------------:| --------------------------- | +| *askReloadSite* | `boolean` | | When the user tries to reload the page, this will prompt a confirmation dialog. It can be really useful, since the frontend serves as a single-page application. | +| *documentTitle* | `string` | | Provides title for the browser tab. | + +*** + +**Example**: +```json +{ + "key": "frontend.site", + "scope": "websocket", + "documentTitle": "My first tutorial" +} +``` \ No newline at end of file