Class: UltimateTurboModal::Flavors::Custom
- Defined in:
- lib/generators/ultimate_turbo_modal/templates/flavors/custom.rb
Constant Summary collapse
- STYLES =
"html:has(dialog.utmr[open]) { overflow: hidden; }"- MODAL_DIALOG_CLASSES =
""- MODAL_INNER_CLASSES =
""- MODAL_CONTENT_CLASSES =
""- MODAL_MAIN_CLASSES =
""- MODAL_HEADER_CLASSES =
""- MODAL_TITLE_CLASSES =
""- MODAL_TITLE_H_CLASSES =
""- MODAL_FOOTER_CLASSES =
""- MODAL_CLOSE_CLASSES =
""- MODAL_CLOSE_BUTTON_CLASSES =
""- MODAL_CLOSE_SR_CLASSES =
""- MODAL_CLOSE_ICON_CLASSES =
""- CONFIRM_BODY_CLASSES =
Confirm dialog constants Only the slots that have no modal equivalent are listed. Every other slot (dialog, inner, content, header, title, main, footer) falls back to the matching MODAL_* class above; define a CONFIRM_* one to override it.
""- CONFIRM_ACTIONS_CLASSES =
""- CONFIRM_CANCEL_CLASSES =
""- CONFIRM_ACCEPT_CLASSES =
""- DRAWER_DIALOG_CLASSES =
Drawer constants
MODAL_DIALOG_CLASSES- DRAWER_WRAPPER_CLASSES =
""- DRAWER_PANEL_CLASSES =
""- DRAWER_CONTENT_CLASSES =
MODAL_CONTENT_CLASSES- DRAWER_HEADER_CLASSES =
MODAL_HEADER_CLASSES- DRAWER_TITLE_CLASSES =
MODAL_TITLE_CLASSES- DRAWER_TITLE_H_CLASSES =
MODAL_TITLE_H_CLASSES- DRAWER_MAIN_CLASSES =
MODAL_MAIN_CLASSES- DRAWER_FOOTER_CLASSES =
MODAL_FOOTER_CLASSES- DRAWER_CLOSE_CLASSES =
MODAL_CLOSE_CLASSES- DRAWER_CLOSE_HIT_AREA_CLASSES =
""- DRAWER_CLOSE_BUTTON_CLASSES =
MODAL_CLOSE_BUTTON_CLASSES- DRAWER_CLOSE_SR_CLASSES =
MODAL_CLOSE_SR_CLASSES- DRAWER_CLOSE_ICON_CLASSES =
MODAL_CLOSE_ICON_CLASSES
Constants inherited from Base
Base::CONFIRM_TEMPLATE_ID, Base::VALID_DRAWER_POSITIONS, Base::VALID_DRAWER_SIZES
Instance Attribute Summary
Attributes inherited from Base
#allowed_click_outside_selector, #content_div_data, #request
Method Summary
Methods inherited from Base
#footer, include_turbo_helpers, #initialize, #title, #turbo_frame_name, validate_drawer_position!, validate_drawer_size!, #view_template
Methods included from Phlex::DeferredRenderWithMainContent
Constructor Details
This class inherits a constructor from UltimateTurboModal::Base
Dynamic Method Handling
This class handles dynamic methods through the method_missing method in the class UltimateTurboModal::Base