DropletSettingsPageOpener
How a DropletSettingsPageLink asks the host for a page (DroppyKit 1.13.0).
struct DropletSettingsPageOpener
The host puts one in the environment of your pane and of every page it opens. Read it through @Environment(\.dropletSettingsPageOpener) only for a control that is not a link row; a DropletSettingsPageLink does this for you. nil outside Droppy (the harness, a host older than 1.13.0).
Initializers
init(_:)
init(_ action: @escaping @MainActor @Sendable (_ pageID: String, _ title: String) -> Void)
Creates an opener. Constructed by hosts.
Methods
callAsFunction(page:title:)
@MainActor func callAsFunction(page id: String, title: String)
Opens the page id names, under title in the toolbar.