Skip to main content

Function: renderPager()

renderPager<Row>(table): string

Defined in: packages/sdvtables/src/html/interactive.ts:98

The pager: Previous and Next buttons around pagerLabel, a polite live region. Rendered only when pageSize is finite. An edge button is aria-disabled, not disabled, so a keyboard user paging to the end keeps focus on it (a disabled button drops focus to the page body); a click on it does nothing.

Type Parameters​

Row​

Row

Parameters​

table​

Table<Row>

Returns​

string