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
#advance, #close_button, #close_on_submit, #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.
125 126 127 128 129 130 131 132 133 134 135 136 |
# File 'lib/ultimate_turbo_modal/configuration.rb', line 125 def initialize @advance = false @close_button = true @close_on_submit = 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.
123 124 125 |
# File 'lib/ultimate_turbo_modal/configuration.rb', line 123 def position @position end |
#size ⇒ Object
Returns the value of attribute size.
123 124 125 |
# File 'lib/ultimate_turbo_modal/configuration.rb', line 123 def size @size end |