-
-
Notifications
You must be signed in to change notification settings - Fork 2.2k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
💄 Improve picture choice description UI
- Loading branch information
1 parent
537b9fe
commit b6e5002
Showing
8 changed files
with
62 additions
and
18 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -12,7 +12,7 @@ There, you can change the container dimensions. Here is a code example: | |
|
||
```html | ||
<script type="module"> | ||
import Typebot from 'https://cdn.jsdelivr.net/npm/@typebot.io/[email protected].9/dist/web.js' | ||
import Typebot from 'https://cdn.jsdelivr.net/npm/@typebot.io/[email protected]/dist/web.js' | ||
Typebot.initStandard({ | ||
typebot: 'my-typebot', | ||
|
@@ -32,7 +32,7 @@ Here is an example: | |
|
||
```html | ||
<script type="module"> | ||
import Typebot from 'https://cdn.jsdelivr.net/npm/@typebot.io/[email protected].9/dist/web.js' | ||
import Typebot from 'https://cdn.jsdelivr.net/npm/@typebot.io/[email protected]/dist/web.js' | ||
Typebot.initPopup({ | ||
typebot: 'my-typebot', | ||
|
@@ -66,6 +66,36 @@ You can bind these commands on a button element, for example: | |
<button onclick="Typebot.open()">Contact us</button> | ||
``` | ||
|
||
### Multiple bots | ||
|
||
If you have different bots on the same page you will have to make them distinct with an additional `id` prop: | ||
|
||
```html | ||
<script type="module"> | ||
import Typebot from 'https://cdn.jsdelivr.net/npm/@typebot.io/[email protected]/dist/web.js' | ||
Typebot.initStandard({ | ||
id: 'bot1' | ||
typebot: 'my-typebot', | ||
}) | ||
Typebot.initStandard({ | ||
id: 'bot2' | ||
typebot: 'my-typebot-2', | ||
}) | ||
</script> | ||
|
||
<typebot-standard | ||
id="bot1" | ||
style="width: 100%; height: 600px; " | ||
></typebot-standard> | ||
... | ||
<typebot-standard | ||
id="bot2" | ||
style="width: 100%; height: 600px; " | ||
></typebot-standard> | ||
``` | ||
|
||
## Bubble | ||
|
||
You can get the bubble HTML and Javascript code by clicking on the "HTML & Javascript" button in the "Share" tab of your typebot. | ||
|
@@ -74,7 +104,7 @@ Here is an example: | |
|
||
```html | ||
<script type="module"> | ||
import Typebot from 'https://cdn.jsdelivr.net/npm/@typebot.io/[email protected].9/dist/web.js' | ||
import Typebot from 'https://cdn.jsdelivr.net/npm/@typebot.io/[email protected]/dist/web.js' | ||
Typebot.initBubble({ | ||
typebot: 'my-typebot', | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -34,7 +34,7 @@ There, you can change the container dimensions. Here is a code example: | |
|
||
```html | ||
<script type="module"> | ||
import Typebot from 'https://cdn.jsdelivr.net/npm/@typebot.io/[email protected].9/dist/web.js' | ||
import Typebot from 'https://cdn.jsdelivr.net/npm/@typebot.io/[email protected]/dist/web.js' | ||
Typebot.initStandard({ | ||
typebot: 'my-typebot', | ||
|
@@ -54,7 +54,7 @@ Here is an example: | |
|
||
```html | ||
<script type="module"> | ||
import Typebot from 'https://cdn.jsdelivr.net/npm/@typebot.io/[email protected].9/dist/web.js' | ||
import Typebot from 'https://cdn.jsdelivr.net/npm/@typebot.io/[email protected]/dist/web.js' | ||
Typebot.initPopup({ | ||
typebot: 'my-typebot', | ||
|
@@ -96,7 +96,7 @@ Here is an example: | |
|
||
```html | ||
<script type="module"> | ||
import Typebot from 'https://cdn.jsdelivr.net/npm/@typebot.io/[email protected].9/dist/web.js' | ||
import Typebot from 'https://cdn.jsdelivr.net/npm/@typebot.io/[email protected]/dist/web.js' | ||
Typebot.initBubble({ | ||
typebot: 'my-typebot', | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
b6e5002
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Successfully deployed to the following URLs:
landing-page-v2 – ./apps/landing-page
landing-page-v2-typebot-io.vercel.app
landing-page-v2-git-main-typebot-io.vercel.app
typebot.io
get-typebot.com
www.get-typebot.com
www.typebot.io
b6e5002
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Successfully deployed to the following URLs:
builder-v2 – ./apps/builder
app.typebot.io
builder-v2-git-main-typebot-io.vercel.app
builder-v2-typebot-io.vercel.app
b6e5002
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Successfully deployed to the following URLs:
docs – ./apps/docs
docs-git-main-typebot-io.vercel.app
docs-typebot-io.vercel.app
docs.typebot.io
b6e5002
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Successfully deployed to the following URLs:
viewer-v2 – ./apps/viewer
bii.bj
1stop.au
wasap.nl
yobot.me
klujo.com
me.cr8.ai
wachat.io
wassep.io
247987.com
8jours.top
aginap.com
ai.mprs.in
bee.cr8.ai
bot.aws.bj
bot.bbc.bj
cat.cr8.ai
finplex.be
jxi.cr8.ai
nepkit.com
pig.cr8.ai
sat.cr8.ai
wachats.me
wsapio.com
blogely.com
bot.aipr.kr
bot.joof.it
bot.kloo.me
bull.cr8.ai
docs.cr8.ai
icon.cr8.ai
minipost.uk
mole.cr8.ai
team.cr8.ai
wolf.cr8.ai
ai.meant.com
bet7k.online
bot.grace.bj
cinecorn.com
gniorder.com
help.taxt.co
kusamint.com
rhino.cr8.ai
sheep.cr8.ai
snake.cr8.ai
svhm.mprs.in
tiger.cr8.ai
video.cr8.ai
yoda.riku.ai
bot.artiweb.app
bot.devitus.com
bot.jesopizz.it
bot.reeplai.com
bot.renovato.it
bot.scayver.com
bot.tc-mail.com
chat.lalmon.com
chat.sureb4.com
eventhub.com.au
fitness.riku.ai
games.klujo.com
proscale.com.br
sakuranembro.it
sellmycarbr.com
typebot.aloe.do
bot.contakit.com
bot.piccinato.co
bot.sv-energy.it
botc.ceox.com.br
clo.closeer.work
cockroach.cr8.ai
faqs.nigerias.io
form.syncwin.com
haymanevents.com
kw.wpwakanda.com
myrentalhost.com
stan.vselise.com
start.taxtree.io
typebot.aloe.bot
voicehelp.cr8.ai
zap.fundviser.in
app.bouclidom.com
app.chatforms.net
bot.aldoemaria.it
bot.hostnation.de
bot.maitempah.com
bot.phuonghub.com
bot.reviewzer.com
bot.rihabilita.it
bot.uluhub.com.br
cares.urlabout.me
chat.gaswadern.de
chat.gniorder.com
chat.rojie.online
fmm.wpwakanda.com
footballmeetup.ie
gentleman-shop.fr
uppity.wpwakanda.com
83701274.21000000.lol
90945247.21000000.one
abutton.wpwakanda.com