![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.
game-3dkadiya
Advanced tools
npm install game-3dkadiya
{
"usingComponents": {
"game": "game-3dkadiya/index"
}
}
{
"node_modules_es6_whitelist": [
"game-3dkadiya"
]
}
Page({
data: {
totalHeight: 0,
scrollTop: 0,
},
onLoad(query) {
console.log('page onLoad', query)
},
onInitDone(game) {
this.gameComponent = game;
this.setData({
totalHeight: this.gameComponent.scroller._scrollHeight
})
// 跳转到下一个
/* setTimeout(() => {
this.gameComponent.nextFun();
}, 2000) */
},
onScrollGo(height) {
// 指定容器滚动到指定高度
this.setData({
scrollTop: height
})
},
onUpdate(par){
// 滚动回调
// progress: 当前进度,总进度为 100, currentIndex:当前产品下标
console.error(par);
},
scroll(e) {
let scrollTop = e.detail.scrollTop;
// this.onScrollGo(scrollTop);
this.gameComponent.scroller.onScroll(scrollTop);
},
})
<view class="pageBox full">
<!-- 游戏容器 -->
<game onInitDone="onInitDone" onUpdate="onUpdate" onScrollGo="onScrollGo" />
<canvas id="tempCanvas" type="webgl" style1="background: red;position: relative;z-index: 10;"></canvas>
<scroll-view scroll-y="{{true}}" scroll-top="{{scrollTop}}" class="full" onScroll="scroll">
<view style="height:{{totalHeight}}px;">
</view>
</scroll-view>
</view>
.full{
/* 首页 */
position: absolute;
left: 0;
top: 0;
width: 100vw;
height: 100vh;
z-index: 999;
}
FAQs
# 游戏
The npm package game-3dkadiya receives a total of 0 weekly downloads. As such, game-3dkadiya popularity was classified as not popular.
We found that game-3dkadiya 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.