npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2024 – Pkg Stats / Ryan Hefner

ghx-chat-support

v1.1.2

Published

Chat support for angular

Downloads

3

Readme

GHX CHAT SUPPORT

This is an Angular wrapper library for the Ghx Chat Support. To use this library you should get familiar with the Ghx Chat Support documentation as well since this documentation only explains details specific to this wrapper.

This documentation is for the latest 5/6.x.x version which requires Angular 5 or newer. For Angular 4 you need to use the latest 4.x.x version. Documentation for the 1.x.x can be found from here.

Quick links

Example application | StackBlitz example | Ghx Chat Support documentation

Installing and usage

npm install ghx-chat-support --save
Load the module for your app (with global configuration):

Providing the global configuration is optional and when used you should only provide the configuration in your root module.

import { GhxChatSupportModule } from 'ghx-chat-support';


@NgModule({
  ...
  imports: [
    ...
    GhxChatSupportModule
  ],
})
Use it in your HTML template (with custom configuration):

This library provides two ways to create a Ghx Chat Support for your project, a component. Component tries to make the usage as simple as possible.

COMPONENT USAGE

Simply replace the element that would ordinarily be passed to PerfectScrollbar with the perfect-scollbar component.

<ghx-chat-support
    [chatBoxType]="'skype'"
    [chatList]="chatBoxListData"
>
</ghx-chat-support>
[chatBoxType]           // Whatever you want the type of chat box (Skype, Messenger, Telegram, Whatsapp) (Default: Skype).
[chatList]              // List of active team member who available for interact with user
Available configuration in chatList option:
userImg                 // Image of your team member who visible to user.
userName                // Name of the team member.
userDesignation         // Designation of team member
contactName             // This is contact name of your team member.
                        // Whatsapp: Your mobile number
                        // Telegram/Messenger/Skype: Your userName
userAvailability        // This is time of your team member avaibility. If you don't use this option that your team member will be always offline.

Example of Chat Box List Data

[
  {
    userImg: <Image Path>,
    userName: <Team member name>,
    userDesignation: <Team member designation>,
    contactName: <Team member contact number>,
    userAvailability: {
      sunday: '09:00-19:00',
      monday: '09:00-19:00',
      tuesday: '09:00-19:00',
      wednesday: '09:00-19:00',
      thursday: '09:00-19:00',
      friday: '09:00-19:00',
      saturday: '09:00-19:00',
    },
  }, ...
]

For more detailed documentation with all the supported events / options see the the Ghx Chat Support documentation.