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

anima-yocto-touch

Package Overview
Dependencies
Maintainers
1
Versions
21
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

anima-yocto-touch

the touch from yocto

  • 1.0.3
  • npm
  • Socket score

Version published
Weekly downloads
4
increased by300%
Maintainers
1
Weekly downloads
 
Created
Source

anima-yocto-touch spm version


anima-yocto 扩展模块


安装

$ spm install anima-yocto-touch --save

使用

该模块提供自定义事件tap,解决了穿透与300ms延迟的问题,用法同普通事件保持一致。

自定义手势模板


var $ = require('anima-yocto-lite');

require('anima-yocto-touch');

var Gesture = $.gestures;

var gestures = {};

Gesture.drag = {
    events: [],
    handler: {
        touchstart: function(event){
            
        },
        touchmove: function(event){
            
        },
        touchend: function(event){
            
        },
        touchcancel: function(event){
            
        }
    }
};

Gesture.init('drag');

module.exports = $;


FAQs

Package last updated on 28 Dec 2015

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