class

Lucky::Paginator::BootstrapNav

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 using Bootstrap styles

https://getbootstrap.com/docs/4.0/components/pagination/

Constants

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

Pagination component using Bootstrap styles

https://getbootstrap.com/docs/4.0/components/pagination/

Constructors

new(pages : Lucky::Paginator)

Pagination component using Bootstrap styles

https://getbootstrap.com/docs/4.0/components/pagination/

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