DaisyUIComponents.Pagination (DaisyUIComponents v0.7.6)
View SourceButton Group component
Summary
Functions
Renders a button group.
Functions
Renders a button group.
Examples
<.pagination page={1} page_size={10} total_entries={100} />
Attributes
page
(:integer
) - Defaults to1
.page_size
(:integer
) - Defaults to10
.total_entries
(:integer
) - Defaults to100
.button_class
(:string
) - Defaults tonil
.size
(:string
) - Must be one of"xs"
,"sm"
,"md"
, or"lg"
.target
(:string
) - Defaults tonil
.page_click_event
(:string
) - Defaults to"page_click"
.- Global attributes are accepted.