diff --git a/docs/integrations/communication/web.md b/docs/integrations/communication/web.md index 228efd4..9f2a96b 100644 --- a/docs/integrations/communication/web.md +++ b/docs/integrations/communication/web.md @@ -125,7 +125,7 @@ You can show the screens you create using `ArmoryAPI.show()`, which takes the us
public static Show show(String connectionId, List<HistoryItem> history, Screen... screens)public static Show show(String connectionId, String firstScreen, List<HistoryItem> history, Screen... screens)public static Show show(String connectionId, List<HistoryItem> history, Map<String, Object> configuration, Screen... screens) public static Show show(String connectionId, String firstScreen, List<HistoryItem> history, Map<String, Object> configuration, Screen... screens)public static Show show(String connectionId, String firstScreen, List<HistoryItem> history, Map<String, Object> configuration, Screen... screens)public static Show show(String connectionId, List<HistoryItem> history, List<Screen> screens)public static Show show(String connectionId, String firstScreen, List<HistoryItem> history, List<Screen> screens)public static Show show(String connectionId, List<HistoryItem> history, Map<String, Object> configuration, List<Screen> screens)configuration map as an argument in the ArmoryAPI.show() to customize every flow individually like this:
+Add a custom favicon:
+If you store a path to a custom favicon - yourCustomFaviconPath in configuration like here:
Add custom CSS:
+Same goes for custom CSS for your screens. When you store a string containing CSS - yourCustomCSS like so:
ArmoryAPI.show() method, as long as you pass the configuration map as an argument.
+
+### Examples
+
Finally, here are some examples that show how the two different ways of building screens are used in rules. First one is covering the manual way, while the other is covering the configuration file way.
```java
@@ -337,7 +372,7 @@ This component is used for collecting user's input, especially in cases where yo
- `type` is used for setting the input type, different versions can be found [here](https://www.w3schools.com/tags/att_input_type.asp)
- `value` is used for setting the default value of the input and can be additionally edited from the user's side
- `required` is used for setting whether the input is required or not
- - `label` is used for setting the label text, which will be shown directly above the input and serves as an description of the specific input field
+ - `label` is used for setting the label text, which will be shown directly above the input and serves as a description of the specific input field
#### SubmitButton
@@ -453,7 +488,7 @@ This component is used in cases where you need users to select multiple values f
- text: "Teamwork"
value: "teamwork"
- text: "Creativity"
- value: "creativeity"
+ value: "creativity"
- text: "Detail oriented"
value: "flexible"
```