![Oracle Drags Its Feet in the JavaScript Trademark Dispute](https://cdn.sanity.io/images/cgdhsj6q/production/919c3b22c24f93884c548d60cbb338e819ff2435-1024x1024.webp?w=400&fit=max&auto=format)
Security News
Oracle Drags Its Feet in the JavaScript Trademark Dispute
Oracle seeks to dismiss fraud claims in the JavaScript trademark dispute, delaying the case and avoiding questions about its right to the name.
yohoho.yofinity
Advanced tools
an infinite scroll jQuery plugin
//bower
bower install --save yohoho.yofinity
//npm
npm install yohoho.yofinity
<!-- In your <body> HTML tag -->
<a href="http://example.com/page/2" title="Next posts" rel="next">Loading...</a>
//in your main JS file
$('body').yofinity({
buffer: 1000,
navSelector: 'a[rel="next"]',
success: function ($link, response){
$link.before(response);
$link.attr('href', '/page/2');
},
error: function ($link){
$link.remove();
}
});
Option | Type | Default | Description |
---|---|---|---|
buffer | integer | 1000 | Number of pixels to fire infinite scroll BEFORE the node element |
context | object | window | - |
debug | boolean | false | Enables the debug tools when it's needed |
error | function | null | Function called if script fires an error |
loading | function | null | Function called when script fires loading |
navSelector | string | 'a[rel="next"]' | Define node element containing AJAX request through the href attribute |
success | function | null | Function called when script fires success |
jQuery 2.1.4
Made with ♥ by Achraf Chouk
Please, read LICENSE for more details.
FAQs
An infinite scroll jQuery plugin
The npm package yohoho.yofinity receives a total of 0 weekly downloads. As such, yohoho.yofinity popularity was classified as not popular.
We found that yohoho.yofinity demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer 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.
Security News
Oracle seeks to dismiss fraud claims in the JavaScript trademark dispute, delaying the case and avoiding questions about its right to the name.
Security News
The Linux Foundation is warning open source developers that compliance with global sanctions is mandatory, highlighting legal risks and restrictions on contributions.
Security News
Maven Central now validates Sigstore signatures, making it easier for developers to verify the provenance of Java packages.