Research
Security News
Kill Switch Hidden in npm Packages Typosquatting Chalk and Chokidar
Socket researchers found several malicious npm packages typosquatting Chalk and Chokidar, targeting Node.js developers with kill switches and data theft.
@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 0 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 found several malicious npm packages typosquatting Chalk and Chokidar, targeting Node.js developers with kill switches and data theft.
Security News
pnpm 10 blocks lifecycle scripts by default to improve security, addressing supply chain attack risks but sparking debate over compatibility and workflow changes.
Product
Socket now supports uv.lock files to ensure consistent, secure dependency resolution for Python projects and enhance supply chain security.