apply

abstract fun apply(item: T, index: Int): ButtonContent(source)

Returns a ButtonContent based on the given item and the current page number of the paginator

Return

The ButtonContent of this item

Parameters

item

The item bound to this button

index

The index of this item on the current page number of the paginator