MCPcopy Create free account
hub / github.com/wailsapp/wails / WindowExecJS

Function WindowExecJS

v2/pkg/runtime/window.go:167–170  ·  view source on GitHub ↗

WindowExecJS executes the given Js in the window

(ctx context.Context, js string)

Source from the content-addressed store, hash-verified

165
166// WindowExecJS executes the given Js in the window
167func WindowExecJS(ctx context.Context, js string) {
168 appFrontend := getFrontend(ctx)
169 appFrontend.ExecJS(js)
170}
171
172func WindowSetBackgroundColour(ctx context.Context, R, G, B, A uint8) {
173 appFrontend := getFrontend(ctx)

Callers

nothing calls this directly

Calls 2

getFrontendFunction · 0.85
ExecJSMethod · 0.65

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…