File tree Expand file tree Collapse file tree 1 file changed +16
-2
lines changed
Expand file tree Collapse file tree 1 file changed +16
-2
lines changed Original file line number Diff line number Diff line change 1- ## 4.0 .1
1+ ## 0.4 .1
22
33- Removed Linkify, added markdown support for response messages
44(urls still are detected automatically but not emails, to ensure
55a link appears use markdown syntax)
66- Fixed fullScreenMode prop: now dispatches the initPayload
7- when the component mounts, removed border-radius
7+ when the component mounts, removed border-radius
8+
9+ ## 0.4.2
10+
11+ - Added a image size property to widget initialization, in order
12+ to crop-scale images returned by bot.
13+ - Images are crop-scaled to the defined size by the CSS property
14+ {object-fit: cover}. The content is sized to maintain its aspect
15+ ratio while filling the element’s entire content box. If the
16+ object's aspect ratio does not match the aspect ratio of its box
17+ then the object will be clipped to fit. The clipping will be taken
18+ from the center.
19+ - ` WebChat.toggle() ` , ` WebChat.open() ` , and ` WebChat.close ` can be used to change the state of the chat box to open or closed.
20+ - ` WebChat.show() ` and ` WebChat.hide() ` can be used to show or hide the entire chat widget.
21+ - ` WebChat.isOpen() ` and ` WebChat.isVisible() ` can be used to get the open state of the chat box and the visibility state of the entire widget.
You can’t perform that action at this time.
0 commit comments