scrivener v2.5.0 Scrivener.Paginater protocol

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

Link to this type t()
t() :: term()

Link to this section Functions

Link to this function paginate(pageable, config)
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.