class

UI::PageHeader

Inherits BaseComponent < HtmxHelper < DateFormatHelper < Rosetta::Translatable < Rosetta::Translatable < Lucky::BaseComponent < Lucky::HTMLBuilder < Lucky::SelectHelpers < Lucky::LabelHelpers < Lucky::InputHelpers < Lucky::SvgInliner < 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

Constants

ASSIGNS = [title : String, title_size : String = "3xl", action_text : String | ::Nil = nil, action_path : Lucky::RouteHelper | ::Nil = nil, action_icon : String | ::Nil = nil, subtitle : String | ::Nil = nil] of Nil

Constructors

new(title : String, title_size : String = "3xl", action_text : String | Nil = nil, action_path : Lucky::RouteHelper | Nil = nil, action_icon : String | Nil = nil, subtitle : String | Nil = nil, **unused_exposures)

Class methods

file_location

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

Source

Instance methods

action_icon
action_path
action_text
render
Source
render
Source
subtitle
title
title_size