connectPageChanged

fun connectPageChanged(connectFlags: <Error class: unknown class> = ConnectFlags(0u), handler: (<Error class: unknown class>) -> Unit): <Error class: unknown class>

This signal is emitted after a page has been changed.

It can be used to implement "infinite scrolling" by amending the pages after every scroll.

::: note An empty carousel is indicated by (int)index == -1.

Parameters

connectFlags

A combination of ConnectFlags

handler

the Callback to connect. Params: index current page