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

common-game

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

common-game

``` npm install common-game ```

  • 0.2.69
  • npm
  • Socket score

Version published
Weekly downloads
4
decreased by-33.33%
Maintainers
2
Weekly downloads
 
Created

common-game

游戏公共组件

安装
npm install common-game
使用
必须开启 "enableSkia": "true"
  • json
{
    "usingComponents": {
        "common-game": "../common-game/common-game"
    }
}
  • 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 02 Jun 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