copy

fun copy(tag: String = this.tag, linkInteractionListener: LinkInteractionListener? = this.linkInteractionListener): OudsLinkAnnotation.Clickable

Creates a copy of this clickable link with optionally modified properties.

Return

A new Clickable instance with the specified properties.

Parameters

tag

The tag for the new link. Defaults to the current tag.

linkInteractionListener

The interaction listener for the new link. Defaults to the current listener.