class

Lucky::Paginator::SimpleNav

Inherits Lucky::BaseComponent < Lucky::HTMLBuilder < Lucky::SvgInliner < Lucky::BunReloadTag < Lucky::LiveReloadTag < Lucky::TagDefaults < Lucky::RenderIfDefined < Lucky::HelpfulParagraphError < Lucky::MountComponent < Lucky::ForgeryProtectionHelpers < Lucky::TimeHelpers < Lucky::UrlHelpers < Lucky::HTMLTextHelpers < Lucky::TextHelpers < Lucky::NumberToCurrency < Lucky::AssetHelpers < Lucky::Assignable < Lucky::SpecialtyTags < Lucky::FormHelpers < Habitat::SettingsHelpers < Habitat::TempConfig < Lucky::LinkHelpers < Lucky::CustomTags < Lucky::CheckTagContent < Lucky::BaseTags < Lucky::CheckTagContent < Reference < Object

Pagination component with raw html and no styling

Typically you would copy paste this component source into your app and modify it to suite your needs.

Constants

ASSIGNS = [pages : Lucky::Paginator] of Nil

Pagination component with raw html and no styling

Typically you would copy paste this component source into your app and modify it to suite your needs.

Constructors

new(pages : Lucky::Paginator)

Pagination component with raw html and no styling

Typically you would copy paste this component source into your app and modify it to suite your needs.

Class methods

file_location

Returns the relative file location to the project root. e.g. src/components/my_component.cr

Source

Instance methods

pages
render
Source
render_page_item(page : Lucky::Paginator::CurrentPage)
Source
render_page_item(page : Lucky::Paginator::Page)
Source
render_page_item(gap : Lucky::Paginator::Gap)
Source