followLink

open fun followLink(href: String, rect: KiteRectangle): Boolean(source)

Follows a link that an element of the overlay opens, such as a link in a web view over an embedded document (#41), as a tap on a link of the page does: the onLinkTap of KiteDocView sees it first, and when that does not take it, a link inside the document moves the view to its target. href is a link as the page gives its own: on an EPUB page, a zip path with a fragment, as EpubLink.href is, or an address with a scheme. rect is the area of the link in display space. Call it on the main thread.

Returns true when the host or the viewer took the link. The default takes none.