0.6.5 • Published 7 years ago
my-api-compat v0.6.5
Mini App My API Ccompatible
A my
object for mini app API.
Usage
import My from 'my-api-compat'
const my = new My({
// ctx is the path of current page, used by my.navigateTo
ctx: '/pages/index'
})
my.xxxx