titleFormatter

fun titleFormatter(formatter: (current: Int, max: Int) -> String): PaginatedGuiBuilder<T>

Sets a custom title formatter for the paginated GUI.

Return

The current PaginatedGuiBuilder instance for chaining.

Parameters

formatter

A function to format the title with the current page and total pages.