textWithUrl

open fun textWithUrl(text: String, url: String): ComponentBuilder

Appends a text component that opens the given URL when clicked.

Return

this component builder for chaining

Parameters

text

the text content to append

url

the URL to open when clicked