Guppy.App.WindowSpec (guppy v0.1.0)

Copy Markdown View Source

Validated app-owned window configuration.

App window ids are strings. A window spec points at a Guppy.Window module and the mount argument/options used when the app opens it.

Summary

Types

t()

@type t() :: %Guppy.App.WindowSpec{
  arg: term(),
  id: String.t(),
  metadata: map(),
  module: module(),
  opts: keyword(),
  restart: :temporary | :transient | :permanent,
  start: boolean()
}