withOpenURL

infix fun Style.withOpenURL(url: String): @NotNull Style

Sets the click event of this style to open a URL.

Return

The style with the applied click event

Parameters

url

The URL to open when clicked