![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.
@better-scroll/infinity
Advanced tools
The ability to inject a infinity load for BetterScroll.
import BScroll from '@better-scroll/core'
import InfinityScroll from '@better-scroll/infinity'
BScroll.use(InfinityScroll)
const bs = new BScroll('.wrapper', {
infinity: {
fetch(count) {
// Fetch data that is larger than count, the function is asynchronous, and it needs to return a Promise.。
// After you have successfully fetch the data, you need resolve an array of data (or resolve Promise).
// Each element of the array is list data, which will be rendered when the render method executes。
// If there is no data, you can resolve (false) to tell the infinite scroll list that there is no more data。
}
render(item, div) {
// Rendering each element node, item is data, and div is a container for wrapping element nodes.
// The function needs to return to the rendered DOM node.
},
createTombstone() {
// Returns a tombstone DOM node.。
}
}
})
FAQs
The ability to inject a infinity load for BetterScroll.
The npm package @better-scroll/infinity receives a total of 1,603 weekly downloads. As such, @better-scroll/infinity popularity was classified as popular.
We found that @better-scroll/infinity demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 3 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.
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.