New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

common-game2

``` npm install common-game2 ```

  • 0.0.1
  • latest
  • npm
  • Socket score

Version published
Maintainers
1
Created

common-game2

游戏公共组件

安装
npm install common-game2
使用
必须开启 "enableSkia": "true"
  • json
{
    "usingComponents": {
        "common-game2": "../common-game2/index"
    }
}
  • js
Component({
  mixins: [],
  data: {},
  props: {},
  didMount() { },
  didUpdate() { },
  didUnmount() { },
  methods: {},
});
  • xaml
  <game-rich
    gameSource="{{gameSource}}"
    onRef="onRef"
    onInitDone="onInitDone" 
    onChangePlayer="onChangePlayer"
    onProCallback="onProCallback"
    onBeforeBtnFun="onBeforeBtnFun"
    onUpdate="onUpdate" 
  />

FAQs

Package last updated on 20 Sep 2022

Did you know?

Socket

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.

Install

Related posts