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

@leadsales/leadclick

v1.12.0

Published

Stencil Component Starter

Downloads

235

Readme

Logo

Built With Stencil

Leadclick - Widget

A widget built for fast communication in your landing page, allow your customers to contact you easily and in just in a few clicks.


Wordpress - Usage

From your admin dashboard go to Pages and search the page you want the widget to appear. Once you've found it, click on it.

step1

Scroll down and click on "Edit with elementor".

Step2

From that new page, search for HTML on the left sidebar. Drag the icon that says HTML and has a </> icon. Drop it into the center of the page. Step3

The sidebar will change and display a textbox. Paste the code generated in leadsales here and click on update.

Step4

And done, you have your widget up and running.

Note: If you want to hide the widget for any reason, set the orientation property to none

Shopify - Usage

From your admin dashboard go to Themes. ShopifyStep1

Then go to your current theme and click on Actions, then on Edit code ShopifyStep2

On the Layout folder click on the file named theme.liquid ShopifyStep3

Scroll down to the end of the file and after the closing </ body > tag paste the generted code from Leadsales. ShopifyStep4

Finally click on the green save button at the top of the page. And done, you have your widget up and running.

Note: If you want to hide the widget for any reason, set the orientation property to none

React - Usage

Install the project with npm

  npm install @leadsales/leadclick --save

Hydrate components inside your index.js file

import { applyPolyfills, defineCustomElements } from '@leadsales/leadclick/dist/loader';

applyPolyfills().then(() => {
  defineCustomElements(window);
});

Import our component into our App.js file and use the html tag in your code.

import '@leadsales/leadclick';

function App() {
  return (
      //Use snippet generated on leadsales here
  )
}

Angular - Usage

Paste the script tag inside your index.html

<script type="module" src="https://cdn.jsdelivr.net/npm/@leadsales/[email protected]/dist/leadclick/leadclick.esm.js"></script>
<meta charset="utf-8" />

Use the leadsales generated snippet in your app.component.html file.

Vue - Usage

Install the project with npm

  npm install @leadsales/leadclick --save

Hydrate de component in your main.js file

import { defineCustomElements as defineLeadclick } from '@leadsales/leadclick/dist/loader';

defineLeadclick(window);

Vue.config.ignoredElements = ['leadclick-widget'];

And that's it, you can use the leadsales generated snippet in any template you want

Component documentation

Check the this link to see the props and structure of the widget

leadclick-widget


Demo

Check our demo at leadsales.io


Contributors


License

MIT