ping-chat
TypeScript icon, indicating that this package has built-in type declarations

0.4.7 • Public • Published

ping-chat

A chatbot component for Ping AI.

For more information, see the Ping documentation.

Properties

Property Attribute Description Type Default
bot (required) bot The bot slug to connect to. string undefined
buttonText button-text The text to display on the button. string "Chat"
expanded expanded Whether the chat widget is initially expanded. boolean false
ping ping string PING
position position The initial position of the chat widget on the screen. "center" | "left" | "right" 'right'
team (required) team The team slug to connect to. string undefined
visible visible Whether the chat widget is visible on load. boolean false

CSS Custom Properties

Name Description
--button-background-color Button background color
--button-background-color-hover Button background color on hover
--button-border-color Button border color
--button-border-color-hover Button border color on hover
--button-text-color Button text color
--button-text-color-hover Button text color on hover
--ping-z-index Z-index of the component

Built with StencilJS

Readme

Keywords

none

Package Sidebar

Install

npm i ping-chat

Weekly Downloads

10

Version

0.4.7

License

MIT

Unpacked Size

986 kB

Total Files

63

Last publish

Collaborators

  • pingchat