@auraxy/cef-bridge
v3.0.3
Published
cefCore, boundAsync, cefEnviroment, cefPopupEnvironment, cefJsWebBridge
Downloads
43
Maintainers
Readme
@auraxy/cef-bridge
pkg.module supported
, which means that you can apply tree-shaking in you project
cefCore, boundAsync, cefEnviroment, cefPopupEnvironment, cefJsWebBridge
如果是从 1.0.0 迁移到 2.0.0 以上版本请注意接口名称的变化,将所有相关变动的接口名一并修改掉
repository
https://git.yipiaoyun.com/front/cef-bridge.git
Demo
https://git.yipiaoyun.com/front/cef-bridge#readme
Run Example
Your can see the usage by run the example of the module, here is the step:
- Clone the library
git clone https://git.yipiaoyun.com/front/cef-bridge.git
- Go to the directory
cd your-module-directory
- Install npm dependencies
npm i
(use taobao registry:npm i --registry=http://registry.npm.taobao.org
) - Open service
npm run dev
- See the example(usually is
http://127.0.0.1/examples/test.html
) in your browser
Installation
npm i -S git+ssh://[email protected]:front/cef-bridge.git[#tagName]
Global name
CefBridge
Interface
See in index.d.ts
Usage
import * as CefBridge from '@auraxy/cef-bridge'
Use in html, see what your can use in CDN: unpkg
<-- use what you want -->
<script src="https://unpkg.com/@auraxy/cef-bridge/lib/umd/<--module-->.js"></script>