New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

anima-pull2load

Package Overview
Dependencies
Maintainers
4
Versions
4
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

anima-pull2load

it's a widget supporting pull to load

  • 2.0.0
  • latest
  • npm
  • Socket score

Version published
Weekly downloads
0
decreased by-100%
Maintainers
4
Weekly downloads
 
Created
Source

pull2load

Install

$ npm install anima-pull2load --save

Usage

var pull2load = require('pull2load');
// use pull2load

Api

var pull2load = new Pull2Load('id', callback, [, opt])

//暂停回调函数
pull2load.pause()

//恢复回调函数
pull2load.run()

//停止回调函数
pull2load.stop()

参数一

第一个参数是回调函数,即当用户触发加载事件时回调的函数

参数二:数据项说明

属性名类型默认值描述
loadbuttonbooleanfalse是否需要显示加载按钮
containerstring''当loadbutton为true时,默认的button加到的标签
prerendernumber0提前X像素触发加载动作

FAQs

Package last updated on 27 May 2016

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