open-yhy-app
v0.1.10
Published
open yhy native app
Downloads
6
Readme
open-yhy-app
open yhy 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-yhy-app
or if you use yarn.
$ yarn add open-yhy-app
Then with a module bundler like rollup or webpack, use as you would anything else:
// using ES6 modules
import openYhyApp from 'open-yhy-app'
// using CommonJS modules
var openYhyApp = require('open-yhy-app')
The UMD build is also available on:
<script src="//shadow.yingheying.com/lib/[email protected]/open-yhy-app.umd.js"></script>
This exposes the openYhyApp
object as a global.
Usage
import openYhyApp from 'open-yhy-app';
// TODO: usage here
openYhyApp.init()
// or
openYhyApp.open(
)
Examples & Demos
Real Example ➡️
API
open-yhy-app's API is organized as follows:
open-yhy-app.init(options: Object)
open-yhy-app will account for the following properties in options:
param
....