Interface VendorLinkNavigationEvent

    This event is passed to NavigationConfig.onVendorNavigation handler when user clicks on any embedded link.

    See EmbeddingClient.handleNavigation for more info.

    Hierarchy

    • VendorLinkNavigationEvent

    Properties

    embeddingUrl: string

    URL of the clicked embedding link e.g. /embedding_prefix/recipes.

    event: MouseEvent

    Click event.

    link: HTMLAnchorElement

    HTML element of the clicked link.

    preventVendorUrlChange: (() => void)

    Type declaration

      • (): void
      • If called, will prevent updating browser's URL to embeddingUrl via History API.

        Returns void

    preventWorkatoUrlChange: (() => void)

    Type declaration

      • (): void
      • If called, will prevent calling of the EmbeddingClient.navigateTo method with workatoUrl.

        Returns void

    reason: "link"
    workatoUrl: string

    Corresponding Workato URL e.g. /recipes.