Class: UltimateTurboModal::Configuration

Inherits:
Object
  • Object
show all
Defined in:
lib/ultimate_turbo_modal/configuration.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initializeConfiguration

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

#advanceObject

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_selectorObject

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_buttonObject

Returns the value of attribute close_button.



18
19
20
# File 'lib/ultimate_turbo_modal/configuration.rb', line 18

def close_button
  @close_button
end

#flavorObject

Returns the value of attribute flavor.



18
19
20
# File 'lib/ultimate_turbo_modal/configuration.rb', line 18

def flavor
  @flavor
end

Returns the value of attribute footer_divider.



18
19
20
# File 'lib/ultimate_turbo_modal/configuration.rb', line 18

def footer_divider
  @footer_divider
end

#headerObject

Returns the value of attribute header.



18
19
20
# File 'lib/ultimate_turbo_modal/configuration.rb', line 18

def header
  @header
end

#header_dividerObject

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

#paddingObject

Returns the value of attribute padding.



18
19
20
# File 'lib/ultimate_turbo_modal/configuration.rb', line 18

def padding
  @padding
end