Flowbite::Pagination::PreviousLink

Renders the “Previous page” link in a pagination component.

This is automatically used by Flowbite::Pagination, but can be used standalone if needed.

Standalone usage

<%= render Flowbite::Pagination::PreviousLink.new(url: "/posts?page=1") %>

API reference

Inherits from Flowbite::Pagination

Constructor

def initialize(url:, disabled: false)

See also

Ruby API documentation for class Flowbite::Pagination::PreviousLink