Class: UltimateTurboModal::Configuration
- Inherits:
-
Object
- Object
- UltimateTurboModal::Configuration
- Defined in:
- lib/ultimate_turbo_modal/configuration.rb
Instance Attribute Summary collapse
-
#advance ⇒ Object
Returns the value of attribute advance.
-
#allowed_click_outside_selector ⇒ Object
Returns the value of attribute allowed_click_outside_selector.
-
#close_button ⇒ Object
Returns the value of attribute close_button.
-
#flavor ⇒ Object
Returns the value of attribute flavor.
-
#footer_divider ⇒ Object
Returns the value of attribute footer_divider.
-
#header ⇒ Object
Returns the value of attribute header.
-
#header_divider ⇒ Object
Returns the value of attribute header_divider.
-
#padding ⇒ Object
Returns the value of attribute padding.
Instance Method Summary collapse
-
#initialize ⇒ Configuration
constructor
A new instance of Configuration.
Constructor Details
#initialize ⇒ Configuration
Returns a new instance of Configuration.
21 22 23 24 25 26 27 28 29 30 |
# File 'lib/ultimate_turbo_modal/configuration.rb', line 21 def initialize @flavor = :tailwind @close_button = true @advance = true @padding = true @header = true @header_divider = true @footer_divider = true @allowed_click_outside_selector = [] end |
Instance Attribute Details
#advance ⇒ Object
Returns the value of attribute advance.
18 19 20 |
# File 'lib/ultimate_turbo_modal/configuration.rb', line 18 def advance @advance end |
#allowed_click_outside_selector ⇒ Object
Returns the value of attribute allowed_click_outside_selector.
19 20 21 |
# File 'lib/ultimate_turbo_modal/configuration.rb', line 19 def allowed_click_outside_selector @allowed_click_outside_selector end |
#close_button ⇒ Object
Returns the value of attribute close_button.
18 19 20 |
# File 'lib/ultimate_turbo_modal/configuration.rb', line 18 def @close_button end |
#flavor ⇒ Object
Returns the value of attribute flavor.
18 19 20 |
# File 'lib/ultimate_turbo_modal/configuration.rb', line 18 def flavor @flavor end |
#footer_divider ⇒ Object
Returns the value of attribute footer_divider.
18 19 20 |
# File 'lib/ultimate_turbo_modal/configuration.rb', line 18 def @footer_divider end |
#header ⇒ Object
Returns the value of attribute header.
18 19 20 |
# File 'lib/ultimate_turbo_modal/configuration.rb', line 18 def header @header end |
#header_divider ⇒ Object
Returns the value of attribute header_divider.
18 19 20 |
# File 'lib/ultimate_turbo_modal/configuration.rb', line 18 def header_divider @header_divider end |
#padding ⇒ Object
Returns the value of attribute padding.
18 19 20 |
# File 'lib/ultimate_turbo_modal/configuration.rb', line 18 def padding @padding end |