onScroll

fun Node.onScroll(context: CoroutineContext = Dispatchers.JavaFx, action: suspend CoroutineScope.(ScrollEvent) -> Unit)

See also

Node.setOnScroll

fun Scene.onScroll(context: CoroutineContext = Dispatchers.JavaFx, action: suspend CoroutineScope.(ScrollEvent) -> Unit)

See also

Scene.setOnScroll