Scrivener.Phoenix.Page (scrivener_phoenix v0.3.1) View Source

A page (link) to render in HTML for the pagination.

Link to this section Summary

Functions

Is the given page the current page?

Is the given page inside the inner window?

Is the given page the last one?

Is the given page within the left outer window?

Is the given page within the right outer window?

Link to this section Types

Specs

t() :: %Scrivener.Phoenix.Page{href: String.t(), no: non_neg_integer()}

Link to this section Functions

Is the given page the current page?

Link to this function

handle_rel(page, spage, attributes \\ [])

View Source
Link to this function

inside_window?(page, spage, options)

View Source

Is the given page inside the inner window?

Is the given page the last one?

Link to this function

left_outer?(page, options)

View Source

Is the given page within the left outer window?

Link to this function

right_outer?(page, spage, options)

View Source

Is the given page within the right outer window?