2
0

(embed) Add new command setInputValue

This commit is contained in:
Baptiste Arnaud
2023-07-15 17:38:12 +02:00
parent 521cb50782
commit be7be7bf7a
14 changed files with 93 additions and 13 deletions

View File

@@ -43,8 +43,8 @@ export const NextjsLogo = (props: IconProps) => (
y1="116.5"
y2="160.5"
>
<stop stop-color="white"></stop>
<stop offset="1" stop-color="white" stop-opacity="0"></stop>
<stop stopColor="white"></stop>
<stop offset="1" stopColor="white" stopOpacity="0"></stop>
</linearGradient>
<linearGradient
gradientUnits="userSpaceOnUse"
@@ -54,8 +54,8 @@ export const NextjsLogo = (props: IconProps) => (
y1="54"
y2="106.875"
>
<stop stop-color="white"></stop>
<stop offset="1" stop-color="white" stop-opacity="0"></stop>
<stop stopColor="white"></stop>
<stop offset="1" stopColor="white" stopOpacity="0"></stop>
</linearGradient>
</defs>
</Icon>

View File

@@ -8,6 +8,7 @@ Here are the commands you can use to trigger your embedded typebot:
- `Typebot.showPreviewMessage()`: Show preview message from the bubble,
- `Typebot.hidePreviewMessage()`: Hide preview message from the bubble,
- `Typebot.setPrefilledVariables(...)`: Set prefilled variables.
- `Typebot.setInputValue(...)`: Set the value in the currently displayed input.
Example: