Skip to content
Interfacecorev0.10.0

PaginatorControls

The controls passed to render.

interface PaginatorControls

button()

A fresh ButtonBuilder for one control, already stamped with its target page and disabled-at-bounds state. Call only cosmetic setters on it, because a setCustomId or setStyle(Link) un-routes it.

button(
    key: ControlKey,
    cosmetics?: ControlCosmetics
): ButtonBuilder