Skip to content

Commit

Permalink
Merge pull request #4 from AKVorrat/clarify-and-fix-typo
Browse files Browse the repository at this point in the history
Clarify the description of the attribute "disable-schedule"
  • Loading branch information
dpolakovics authored Oct 16, 2023
2 parents 6e5b540 + 7d4fdaa commit 89b6a63
Showing 1 changed file with 3 additions and 4 deletions.
7 changes: 3 additions & 4 deletions content/showcase/chatcontrol/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -35,19 +35,18 @@ Integrate the campaign in your Website
| host | The URL of the DearMEP-Server. This attribute is required! |
| api | The URL of the dear-mep API-Server. This attribute is used if the API-Server is hosted separately from the server that provides hosts static assets. |
| assets | The URL of the Assets-Server. This attribute is used if the static assets are hosted separately from the API-Server. |
| default‑country | If the user has not (yet) selected a country and the server cannot determine the country (because a VPN or TOR is used for example), this country will be used as fallback. It makes sense for a german campaign to use "DE" for example. Use two didgit country codes such as: "DE", "AT", ... . |
| default‑country | If the user has not (yet) selected a country and the server cannot determine the country (because a VPN or TOR is used for example), this country will be used as fallback. It makes sense for a german campaign to use "DE" for example. Use two-letter country codes according to ISO 639-1 Alpha-2 ("DE", "AT", ...). |
| disable‑calling | If this attribute is present the calling functionality is hidden. |
| disable‑scheduling | If this attribute is present the schedule-call functionality is hidden. NOTE: This functionality is not yet supported but it will be enabled by default as soon as it is. |
| disable‑scheduling | If this attribute is present the schedule-call functionality is hidden. NOTE: This functionality is not yet supported and thus this parameter has no effect. The scheduling functionality will be enabled in the future if this attribute is not present. |

**Integration with optional parameters:**
```html
<link rel="stylesheet" href="https://chatcontrol.dearmep.eu/static/dear-mep.css" type="text/css"/>
<dear-mep
host="https://chatcontrol.dearmep.eu/"
default-country="DE"
disable-scheduling
></dear-mep>
<script src="https://chatcontrol.dearmep.eu/static/dear-mep.js"></script>s
<script src="https://chatcontrol.dearmep.eu/static/dear-mep.js"></script>
```

## Integrations
Expand Down

0 comments on commit 89b6a63

Please sign in to comment.