Pagination

Attribute Type Documentation Default Value
id :any

html attribute id

Read more Read less
false
class :any

html attribute class

Read more Read less
""
page_size :integer

items shows per page

Read more Read less
10
page_num :integer 1
total :integer

total items count

Read more Read less
0
update_event :string

Phoenix live event name for page status update.

Read more Read less
"update_current_page"
page_url :any
page_url_marker :string

Marker in page url. Default is {page}.

Read more Read less
"{page}"

Replace this marker with page number.

page_link_type :string

Phoenix link type.

Read more Read less
"patch"
inner_block :slot

Page slot

<form class="w-12 join" action="/blogs/67" method="get">
  <input class="join-item input input-sm" type="number" value={67} placeholder="input page number" />
  <button class="join-item btn btn-sm btn-outline btn-accent"><PhoenixDuskmoon.Component.Icons.dm_mdi name="arrow-right-top" class="w-4 h-4" /></button>
</form>