Props

io.github.nafg.scalajs.facades.mui.TablePaginationActions.Props
class Props extends PropTypes

Attributes

Graph
Supertypes
trait PropTypes
class Object
trait Matchable
class Any

Members list

Type members

Inherited classlikes

object dyn extends Dynamic

Attributes

Inherited from:
PropTypes
Supertypes
trait Dynamic
class Object
trait Matchable
class Any

Value members

Concrete methods

def backIconButtonProps: Prop[Object]

Props applied to the back arrow IconButton element.

Props applied to the back arrow IconButton element.

Attributes

def count: Prop[Double]

The total number of rows.

The total number of rows.

Attributes

def disabled: Prop[Boolean]

If true, the component is disabled.

If true, the component is disabled.

Attributes

def getItemAriaLabel: Prop[Any => Any]

Accepts a function which returns a string value that provides a user-friendly name for the current page.

Accepts a function which returns a string value that provides a user-friendly name for the current page.

For localization purposes, you can use the provided translations.

Value parameters

{number}

page The page number to format.

{string}

type The link or button type to format ('page' | 'first' | 'last' | 'next' | 'previous'). Defaults to 'page'.

Attributes

def nextIconButtonProps: Prop[Object]

Props applied to the next arrow IconButton element.

Props applied to the next arrow IconButton element.

Attributes

def onClick: Prop[ReactMouseEventFromHtml => Callback]
def onPageChange: Prop[Any => Any]

Callback fired when the page is changed.

Callback fired when the page is changed.

Value parameters

{number}

page The page selected.

{object}

event The event source of the callback.

Attributes

def page: Prop[Double]

The zero-based index of the current page.

The zero-based index of the current page.

Attributes

def rowsPerPage: Prop[Double]

The number of rows per page.

The number of rows per page.

Attributes

def showFirstButton: Prop[Boolean]

If true, show the first-page button.

If true, show the first-page button.

Attributes

def showLastButton: Prop[Boolean]

If true, show the last-page button.

If true, show the last-page button.

Attributes

def slotProps: Prop[Object]

The props used for each slot inside the TablePaginationActions.

The props used for each slot inside the TablePaginationActions.

Attributes

def slots: Prop[Object]

The components used for each slot inside the TablePaginationActions. Either a string to use a HTML element or a component.

The components used for each slot inside the TablePaginationActions. Either a string to use a HTML element or a component.

Attributes

def style: Prop[Object]

Inherited methods

def of[A : Writer](implicit evidence$1: Writer[A], name: Name): Prop[A]

Attributes

Inherited from:
PropTypes

Inherited fields

val key: Prop[Key]

Attributes

Inherited from:
PropTypes