Research
Security News
Quasar RAT Disguised as an npm Package for Detecting Vulnerabilities in Ethereum Smart Contracts
Socket researchers uncover a malicious npm package posing as a tool for detecting vulnerabilities in Etherium smart contracts.
@cnbritain/merlin-frontend-infinitescroll-js
Advanced tools
Infinite scroll library
Kind: global class
Param | Type | Description |
---|---|---|
config | Object | Configuration |
config.throttle | Number | Null | The throttle speed in milliseconds |
config.trigger | function | The trigger function that checks when to load the url |
config.url | function | String | The url to load |
Destroys the infinite scroller
Kind: instance method of InfiniteScroll
Emits: destroy
Access: public
Disables the infinite scroller. This unbinds the scroll listener.
Kind: instance method of InfiniteScroll
Emits: disable
Access: public
Enables the infinite scroller. This binds the scroll listener.
Kind: instance method of InfiniteScroll
Emits: enable
Access: public
Pauses the infinite scroller
Kind: instance method of InfiniteScroll
Emits: pause
Access: public
Resumes the infinite scroller
Kind: instance method of InfiniteScroll
Emits: resume
Access: public
Updates the scroll position. This will run the trigger that is set and if that succeeds, it will begin loading the url
Kind: instance method of InfiniteScroll
Access: public
Enable event
Kind: event emitted by InfiniteScroll
Destroy event
Kind: event emitted by InfiniteScroll
Disable event
Kind: event emitted by InfiniteScroll
LoadComplete event
Kind: event emitted by InfiniteScroll
Properties
Name | Type | Description |
---|---|---|
data | Object | The XMLHttpRequest data |
originalRequest | Object | The XMLHttpRequest |
LoadError event
Kind: event emitted by InfiniteScroll
Properties
Name | Type | Description |
---|---|---|
data | Object | The XMLHttpRequest data |
originalRequest | Object | The XMLHttpRequest |
Loading event
Kind: event emitted by InfiniteScroll
Properties
Name | Type | Description |
---|---|---|
url | String | The url that is being loaded |
Pause event
Kind: event emitted by InfiniteScroll
Resume event
Kind: event emitted by InfiniteScroll
Install dependencies:
npm install
Build the things:
npm run sass
npm run js
npm run docs
Hint your JS
npm run jshint
Python the pythons:
npm run demo-install
Start the demo server:
python demo.py
FAQs
Infinite scroll library
The npm package @cnbritain/merlin-frontend-infinitescroll-js receives a total of 8 weekly downloads. As such, @cnbritain/merlin-frontend-infinitescroll-js popularity was classified as not popular.
We found that @cnbritain/merlin-frontend-infinitescroll-js demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 4 open source maintainers collaborating on the project.
Did you know?
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.
Research
Security News
Socket researchers uncover a malicious npm package posing as a tool for detecting vulnerabilities in Etherium smart contracts.
Security News
Research
A supply chain attack on Rspack's npm packages injected cryptomining malware, potentially impacting thousands of developers.
Research
Security News
Socket researchers discovered a malware campaign on npm delivering the Skuld infostealer via typosquatted packages, exposing sensitive data.