Fulib v0.1.18 Fulib.Paginater.ViewHelper View Source
Link to this section Summary
Link to this section Functions
Link to this function
paginate(paginater, opts \\ []) View Source
HTML分页
paginater %Fulib.Paginater.CountResult{}
opts
- :
base_uri# 基础URI - :
params# 额外的url参数 - :
style基础的分页形式(:default, :simple_default, :simple_whole) 会使用相应style默认的配置 :
page_param- :page, # 参数名
:
param_type# 分页参数的样式- :query # 分页采用 query 查询
- :folder # 分页采用 REST 风格
- :
with_previoustrue, - :
with_nexttrue, - :
with_large_nexttrue, - :
with_jumpfalse, - :
with_firstfalse, - :
with_lastfalse, - :
with_first_disabledtrue, - :
with_previous_disabledtrue, - :
with_next_disabledtrue, - :
with_last_disabledtrue - :
nav_style:ul, - :
with_pagestrue, - :
window3, - :
last_right5, - :
right1, - :
first_left5, - :
left1