Crate tether [] [src]

Lets you open and talk to a single cross-platform web view.

The webpage also has some extra capabilities:

  • window.tether(string) sends a message to your application.
  • document.title sets the window's title.

Structs

Options

Provides some configuration options for the window.

Window

A link between the web view and your application.

Traits

Handler

An event handler.

Functions

builder

Creates a new window builder. You should probably call this first!

dispatch

Schedules the provided function to eventually run on the UI thread.

escape

Escape a string to pass it into JavaScript.