Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

bh-mobile-sdk

Package Overview
Dependencies
Maintainers
1
Versions
90
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

bh-mobile-sdk

wisedu mobile web sdk

  • 0.1.1
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
5
decreased by-37.5%
Maintainers
1
Weekly downloads
 
Created
Source

Wisedu Mobile JavaScript SDK

金智教育移动校园 JavaScript SDK

安装

npm install bh-mobile-sdk

使用

import {init} from 'bh-mobile-sdk'

init(() => {
    console.log(WISEDU_SDK)
})

bh-mobile-sdk 中引入 init 方法,执行成功后,在全局变量里就会有 WISEDU_SDK

API

SDK 提供的 Api 是分模块的,先阶段一共有三大模块,UI, systemAbility, file

如果想调用某个 UI 模块下的的 api,WISEDU_SDK.UI.closeWebView

UI

setNavHeader(flag: Boolean)

设置客户端原生头是否隐藏, 默认是显示的,传入 false 隐藏原生头

WISEDU_SDK.UI.setNavHeader(false)

setTitleText(title: String)

设置原生头的 title

WISEDU_SDK.UI.setTitleText('我是 title')

Keywords

FAQs

Package last updated on 07 Nov 2016

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

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc