Contents

init(configuration:navigationDecider:dialogPresenter:)

Create a new WebPage.

Declaration

@MainActor convenience init(configuration: WebPage.Configuration = Configuration(), navigationDecider: some WebPage.NavigationDeciding, dialogPresenter: some WebPage.DialogPresenting)

Parameters

  • configuration:

    A Configuration value to use when initializing the page.

  • navigationDecider:

    A navigation decider used to customize navigations that happen within the page.

  • dialogPresenter:

    A dialog presenter which controls how JavaScript dialogs are handled.

See Also

Creating a WebPage