You're Invited:Meet the Socket Team at BlackHat and DEF CON in Las Vegas, Aug 7-8.RSVP
Socket
Socket
Sign inDemoInstall

@meetelise/chat

Package Overview
Dependencies
Maintainers
0
Versions
339
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@meetelise/chat

### Installation


Version published
Weekly downloads
490
increased by38.03%
Maintainers
0
Created
Weekly downloads
 

Readme

Source

MeetElise Webchat

Installation

To install MeetElise webchat on your site, add the following code:

<script type="module">
  import Chat from "https://cdn.skypack.dev/@meetelise/chat";
  Chat.start({
    organization: "{your org here}",
    building: "{your building here}",
  });
</script>

Custom Positioning

To reposition your chat widget on the page, add the position object to your snippet.

<script type="module">
  import Chat from "https://cdn.skypack.dev/@meetelise/chat";
  Chat.start({
    organization: "{your org here}",
    building: "{your building here}",
    position: {
      bottom: 100, // Change these values to suit your needs
      left: 0,
    },
  });
</script>

Configure Settings

To configure colors, options, and other settings you can navigate to https://app.meetelise.com/settings/widgets

Separate Call to Actions

You can open any of the widgets via the functions given in the window.eliseAi namespace. The options given are

onOpenCallUsWindow onOpenChat onOpenEmailUsWindow onOpenSST

Example usage with an <a> tag would be:

<a href="javacript:void(0)" onclick="window.eliseAi.onOpenChat()"
  >Chat with us</a
>

While an example with a <button> tag would be

<button onclick="window.eliseAi.onOpenSst()">Open SST</button>

FAQs

Package last updated on 26 Jul 2024

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc