Class: UltimateTurboModal::Flavors::Vanilla
- Defined in:
- lib/generators/ultimate_turbo_modal/templates/flavors/vanilla.rb
Constant Summary collapse
- STYLES =
"html:has(dialog#modal-container[open]) { overflow: hidden; }"- MODAL_DIALOG_CLASSES =
"modal-container"- MODAL_INNER_CLASSES =
"modal-inner"- MODAL_CONTENT_CLASSES =
"modal-content"- MODAL_MAIN_CLASSES =
"modal-main"- MODAL_HEADER_CLASSES =
"modal-header"- MODAL_TITLE_CLASSES =
"modal-title"- MODAL_TITLE_H_CLASSES =
"modal-title-h"- MODAL_FOOTER_CLASSES =
"modal-footer"- MODAL_CLOSE_CLASSES =
"modal-close"- MODAL_CLOSE_BUTTON_CLASSES =
"modal-close-button"- MODAL_CLOSE_SR_CLASSES =
"sr-only"- MODAL_CLOSE_ICON_CLASSES =
"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_CLASSES =
"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
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