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

  • 4.1.1
  • npm
  • Socket score

Version published
Maintainers
1
Created
Source

dev by JamesHsu made in Taiwan npm

Installation

$ npm install lesca-click --save

Demo

Live Demo

Usage

import Click from 'lesca-click';

Click.install();

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

Methods

methodoptionstypedescriptiondefault
.install()installtrue
add(target, execution)targetstringselector => ".target" or "#target"
executionfunctioncall when target clicked
remove(target)targetstringselector => ".target" or "#target"
clear()clear all functions
setPreventDefault(value)valuebooleanset preventDefault enable or disable
addPreventExcept(target)targetstring".target" or "#target"

Keywords

FAQs

Package last updated on 09 Jun 2022

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