Scrivener.Paginater protocol (scrivener v2.7.2)
The Scrivener.Paginater
protocol should be implemented for any type that requires pagination.
Link to this section Summary
Functions
The paginate function will be invoked with the item to paginate along with a Scrivener.Config
. It is expected to return a Scrivener.Page
.
Link to this section Types
Specs
t() :: term()
Link to this section Functions
Link to this function
paginate(pageable, config)
Specs
paginate(any(), Scrivener.Config.t()) :: Scrivener.Page.t()
The paginate function will be invoked with the item to paginate along with a Scrivener.Config
. It is expected to return a Scrivener.Page
.