Skip to content

runtimejs ​

go
import "github.com/tangoui/tango/runtime-js/runtimejs"

本页由 site/tools/apigen 从源码注释生成(按 darwin 构建标签选文件),请勿手改。

Package runtimejs embeds the IIFE build of @tangoui/runtime. Inject it into every surface with app.AddBridgeScript(runtimejs.Script); pages then use window.tango (or import "@tangoui/runtime", which shares the same client).

tango.iife.js is generated: run `npm run build` in runtime-js/ after changing runtime-js/src and commit the result.

变量 ​

go
var Script string

以 MIT 许可发布