← all modules

Std.Webview

Std.Webview
  Std.Webview — desktop UI backend (Layer 3 Sky source).

Types
  type alias WindowCfg
  type alias AppCfg

Values
  app : AppCfg model msg -> Task Error ()
      Open a native desktop window and run the TEA loop until the
  defaultWindow : WindowCfg
      `defaultWindow` — 800×600 window titled "Sky".  Builders below
  withSize : Int -> Int -> WindowCfg -> WindowCfg
      `withSize w h cfg` — replace the initial window size in pixels.
  withTitle : String -> WindowCfg -> WindowCfg
      `withTitle "My App" cfg` — replace the window title.