Contents

init(configuration:dialogPresenter:)

Create a new WebPage.

Declaration

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

Parameters

  • configuration:

    A Configuration value to use when initializing the page.

  • dialogPresenter:

    A dialog presenter which controls how JavaScript dialogs are handled.

See Also

Creating a WebPage