Custom Class
Last updated
Last updated
The Custom Class action will append a custom Style Sheet class to the parent content action.
The action uses the following settings:
Setting
Description
Class Name
The name of the class you wish to add to your parent content
This operation can be used to apply to your Web chatbot some additional styles based on rules or context. The custom classes may refer to a separate style sheet available in your page or to a style sheet attached directly to your Web chatbot.
By default, Xenioo style sheet will define the following additional classes you can use without including any external style sheet
Class Name
Result
xenioo-ok-button
Add a green background and white text to a button
xenioo-warning-button
Add an orange background and white text to a button
xenioo-danger-button
Add a red background and white text to a button
This action has no triggers.
This action does not produce any variable.
Channel specific availability follows the table below:
Channel
Availability
Not Applicable
Not Applicable
Telegram
Not Applicable
Web
Fully Available
Alexa
Not Applicable
Google Assistant
Not Applicable
Slack
Not Applicable
API
Not Applicable
This action can be used only inside interactions and not as child of other actions. This action is available only to Premium Accounts.