0.2.0 • Published 4 months ago
scriv-chat v0.2.0
scriv-chat
A chatbot component for Scriv AI.
For more information, see the Scriv documentation.
Properties
Property | Attribute | Description | Type | Default |
---|---|---|---|---|
bot (required) | bot | The bot slug to connect to. | string | undefined |
buttonText | button-text | The text to display on the button. | string | "Chat" |
expanded | expanded | Whether the chat widget is initially expanded. | boolean | false |
position | position | The initial position of the chat widget on the screen. | "center" \| "left" \| "right" | 'right' |
scriv | scriv | string | SCRIV | |
team (required) | team | The team slug to connect to. | string | undefined |
visible | visible | Whether the chat widget is visible on load. | boolean | false |
CSS Custom Properties
Name | Description |
---|---|
--button-background-color | Button background color |
--button-background-color-hover | Button background color on hover |
--button-border-color | Button border color |
--button-border-color-hover | Button border color on hover |
--button-text-color | Button text color |
--button-text-color-hover | Button text color on hover |
--scriv-z-index | Z-index of the component |
Built with StencilJS