open-zg-app
v0.0.3
Published
open zg native app
Downloads
3
Readme
open-zg-app
open zg native app
Install
This project uses node and npm. Go check them out if you don't have them locally installed.
$ npm install --save open-zg-app
or if you use yarn.
$ yarn add open-zg-app
Then with a module bundler like rollup or webpack, use as you would anything else:
// using ES6 modules
import openZgApp from 'open-zg-app'
// using CommonJS modules
var openZgApp = require('open-zg-app')
The UMD build is also available on:
<script src="//shadow.zhaogangimg.com/lib/[email protected]/open-zg-app.umd.js"></script>
This exposes the openZgApp
object as a global.
Usage
import openZgApp from 'open-zg-app';
// TODO: usage here
openZgApp.init()
// or
openZgApp.open(
)
Examples & Demos
Real Example ➡️
API
open-zg-app's API is organized as follows:
open-zg-app.init(options: Object)
open-zg-app will account for the following properties in options:
param
....