JiteshGaikwad / Chatbot-Widget

MIT License
256 stars 129 forks source link

Embed bot without button #16

Closed jcechavarri closed 2 years ago

jcechavarri commented 2 years ago

Hey @JiteshGaikwad!

Is it possible to embed just the bot in the page instead of the button? I was thinking something like the embedded prop of botfront's widget.

Thank you 😄

JiteshGaikwad commented 2 years ago

Hey @jcechavarri I have added this feature in Widget.20, you can check the demo.html file for the above feature, although it's still w.i.p but basic messaging works.

JiteshGaikwad commented 2 years ago

@jcechavarri since it's still in development, any feedback is welcome 😄

jcechavarri commented 2 years ago

@JiteshGaikwad thank you for the quick reply 😁

However, I do not find the prop in demo.html as you explain. Maybe I explained myself wrong. I would like to have a prop embedded, which can be true or false:

Example:

Embedded true

<Widget embedded={{ true }} />

Note that the launcher button does not exist with embedded = true.

Embedded false

<Widget embedded={{ false }} />

If the option already exists, please tell me where to find it 🙏🏼

JiteshGaikwad commented 2 years ago

@jcechavarri I have added the embedded prop as you suggested please check the demo.html file for the latest changes. Thanks for suggesting the feature. 😄 🙏

jcechavarri commented 2 years ago

Will check it out, thank you again!! 🚀

jcechavarri commented 2 years ago

Closing this issue, as it is resolved ⭐