botman / web-widget

MIT License
39 stars 69 forks source link

Added ability to send extra params and initialize widget on demand. #47

Closed alexandrubau closed 1 year ago

alexandrubau commented 5 years ago

I've added the following features:

Ability to send extra params

Sometimes you may need to send additional parameters such as tokens, which are only available on the client side. The widget should also support setting these parameters later on (after initialization) in case they change. It should be used with caution because it needs to render the iframe used for the chat.

Initialize botman widget

The widget should offer the ability to initialize only after a certain action occurred, such as user login.