class

UI::ConfirmDialog

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 = [id : String, title : String, message : String, confirm_text : String = "Confirm", cancel_text : String = "Cancel", confirm_class : String = "btn-error"] of Nil

Constructors

new(id : String, title : String, message : String, confirm_text : String = "Confirm", cancel_text : String = "Cancel", confirm_class : String = "btn-error", **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

cancel_text
confirm_class
confirm_text
id
message
render
Source
title