Class: UltimateTurboModal::Flavors::Vanilla

Inherits:
Base
  • Object
show all
Defined in:
lib/generators/ultimate_turbo_modal/templates/flavors/vanilla.rb

Constant Summary collapse

STYLES =
"html:has(dialog#modal-container[open]) { overflow: hidden; }"
"modal-container"
"modal-inner"
"modal-content"
"modal-main"
"modal-header"
"modal-title"
"modal-title-h"
"modal-footer"
"modal-close"
"modal-close-button"
"sr-only"
"modal-close-icon"
DRAWER_DIALOG_CLASSES =

Drawer constants

"drawer-container"
DRAWER_WRAPPER_CLASSES =
"drawer-wrapper"
DRAWER_PANEL_CLASSES =
"drawer-panel"
DRAWER_CONTENT_CLASSES =
"drawer-content"
DRAWER_HEADER_CLASSES =
"drawer-header"
DRAWER_TITLE_CLASSES =
"drawer-title"
DRAWER_TITLE_H_CLASSES =
"drawer-title-h"
DRAWER_MAIN_CLASSES =
"drawer-main"
"drawer-footer"
DRAWER_CLOSE_CLASSES =
"drawer-close"
DRAWER_CLOSE_BUTTON_CLASSES =
"drawer-close-button"
DRAWER_CLOSE_SR_CLASSES =
MODAL_CLOSE_SR_CLASSES
DRAWER_CLOSE_ICON_CLASSES =
"drawer-close-icon"

Constants inherited from Base

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, validate_drawer_position!, validate_drawer_size!, #view_template

Methods included from Phlex::DeferredRenderWithMainContent

#view_template

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