shipday-chat 0.0.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +1 -0
- package/dist/index.html +12 -0
- package/dist/shipday-chat.min.js +2 -0
- package/dist/shipday-chat.min.js.LICENSE.txt +70 -0
- package/package.json +67 -0
- package/shipday/ShipdayChat.js +2 -0
- package/shipday/ShipdayChat.js.LICENSE.txt +60 -0
- package/shipday/index.html +12 -0
package/README.md
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
## Standalone chat component to use as a library in shipday services
|
package/dist/index.html
ADDED
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
<!doctype html><html><head><title>My Component Demo</title><script defer="defer" src="shipday-chat.min.js"></script></head><body onload="load()"><div id="shipday-chat-container"></div><script>var shipdayChat, chatInstance;
|
|
2
|
+
|
|
3
|
+
function load() {
|
|
4
|
+
shipdayChat = new ShipdayChat.default({
|
|
5
|
+
theme: "light",
|
|
6
|
+
token: "",
|
|
7
|
+
container: document.getElementById('shipday-chat-container'),
|
|
8
|
+
})
|
|
9
|
+
console.log(srimChat)
|
|
10
|
+
}
|
|
11
|
+
|
|
12
|
+
/*;*/</script></body></html>
|