Commit 782d7d5d authored by Eric Eastwood's avatar Eric Eastwood 🌴

Show how to adjust options

parent 7f6b87ed
......@@ -16,6 +16,27 @@ Gitter embed widget
# Options
Set options with the global window option:
```html
<script>
window.___gitterEmbedConfig = {
container: '.sidebar'
};
</script>
```
*TODO (not implemented yet):* You can also override these options individually on the container:
```html
<div
class="gitter-chat-embed
data-some-option="some-value"
></div>
```
- `options.room`:
- Default: `'gitterHQ/gitter'`
- `options.container`: Where you want to embed the chat
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment