Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

lesca-click

Package Overview
Dependencies
Maintainers
1
Versions
33
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

lesca-click

replace click / touch start on SPY page

  • 1.0.9
  • npm
  • Socket score

Version published
Weekly downloads
5
increased by66.67%
Maintainers
1
Weekly downloads
 
Created
Source

dev by JamesHsu made in Taiwan

Installation

$ npm install lesca-click --save

Usage

import Click from 'lesca-click';

Click.init(true, true);

Click.add('.target', (e) => {
	console.log('target clicked');
});

Methods

methodoptionsdescriptiondefault
init(clickEventAlso, install)clickEventAlsoclick event combine alsotrue
installset on window.Clicktrue
add(target, execution)targetselector => ".target" or "#target"
executioncall when target clicked
remove(target)targetselector => ".target" or "#target"
clear()clear all functions
destory()remove all event

Properties

Propertiestypedescriptiondefault
preventDefaultboolprevent Default by yourselftrue
deviationnumberclick hand deviation30

Keywords

FAQs

Package last updated on 21 Apr 2021

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

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc