Class: UltimateTurboModal::Configuration::DrawerConfig
- Inherits:
-
BaseConfig
- Object
- BaseConfig
- UltimateTurboModal::Configuration::DrawerConfig
- Defined in:
- lib/ultimate_turbo_modal/configuration.rb
Instance Attribute Summary collapse
-
#position ⇒ Object
Returns the value of attribute position.
-
#size ⇒ Object
Returns the value of attribute size.
Attributes inherited from BaseConfig
#close_button, #footer_divider, #header, #header_divider, #overlay, #padding
Instance Method Summary collapse
-
#initialize ⇒ DrawerConfig
constructor
A new instance of DrawerConfig.
Methods inherited from BaseConfig
Constructor Details
#initialize ⇒ DrawerConfig
Returns a new instance of DrawerConfig.
87 88 89 90 91 92 93 94 95 96 |
# File 'lib/ultimate_turbo_modal/configuration.rb', line 87 def initialize @close_button = true @header = true @header_divider = false @footer_divider = true @padding = true @overlay = true @size = :md @position = :right end |
Instance Attribute Details
#position ⇒ Object
Returns the value of attribute position.
85 86 87 |
# File 'lib/ultimate_turbo_modal/configuration.rb', line 85 def position @position end |
#size ⇒ Object
Returns the value of attribute size.
85 86 87 |
# File 'lib/ultimate_turbo_modal/configuration.rb', line 85 def size @size end |