Class: Irelia::Flex::Component
- Includes:
- Options::Fixed, Options::Flex::Direction, Options::Flex::Gap, Options::Flex::Grow, Options::Flex::Items, Options::Flex::Justify, Options::Padding, Options::TextFormatting, Options::Width
- Defined in:
- app/components/irelia/flex/component.rb
Instance Method Summary collapse
Methods included from Options::Flex::Items
Methods included from Options::Flex::Grow
Methods included from Options::Flex::Gap
Methods included from Options::Flex::Direction
Methods included from Options::Flex::Justify
Methods included from Options::Fixed
Methods included from Options::Width
Methods included from Options::TextFormatting
Methods included from Options::Padding
Methods inherited from Component
#add_css_classes, after_initialize, #html_options, inherited, #initialize, run_after_initialize_hooks
Constructor Details
This class inherits a constructor from Irelia::Component
Instance Method Details
#variants ⇒ Object
15 16 17 18 19 20 |
# File 'app/components/irelia/flex/component.rb', line 15 def variants class_names( "irelia-flex", "irelia-flex--default": variant == :default, ) end |