onOrientationChange

fun CSView<*>.onOrientationChange(function: (CSRegistration, CSDisplayOrientation) -> Unit): CSRegistration
fun CSView<*>.onOrientationChange(function: (CSDisplayOrientation) -> Unit): CSRegistration