IHP Api Reference
Safe HaskellNone

IHP.Pagination.Types

Synopsis

Documentation

data Pagination Source #

Constructors

Pagination 

Instances

Instances details
Show Pagination Source # 
Instance details

Defined in IHP.Pagination.Types

Methods

showsPrec :: Int -> Pagination -> ShowS #

show :: Pagination -> String

showList :: [Pagination] -> ShowS #

data Options Source #

Options for customizing a pagination, to be used with paginateOptions.

Constructors

Options 

Fields

  • maxItems :: Int

    The maximum items per page. Default 50.

  • windowSize :: Int

    The size of the window in the page selector. Default 5.

Instances

Instances details
SetField "maxItems" Options Int Source # 
Instance details

Defined in IHP.Pagination.Types

SetField "windowSize" Options Int Source # 
Instance details

Defined in IHP.Pagination.Types

data PageDotDot Source #

Constructors

Page Int 
DotDot Int