onAction

fun HyperlinkLabel.onAction(context: CoroutineContext = Dispatchers.JavaFx, action: suspend CoroutineScope.(ActionEvent) -> Unit)

See also

HyperlinkLabel.setOnAction