Class: Ariadne::TableNavComponent::BaseRowItem::RowItem
- Inherits:
-
Ariadne::TableNavComponent::BaseRowItem
- Object
- ViewComponent::Base
- Component
- Ariadne::TableNavComponent
- Ariadne::TableNavComponent::BaseRowItem
- Ariadne::TableNavComponent::BaseRowItem::RowItem
- Defined in:
- app/components/ariadne/table_nav_component.rb
Overview
This component is part of TableNavComponent and should not be used as a standalone component.
Constant Summary collapse
- DEFAULT_ROW_CLASSES =
"ariadne-bg-white"- DEFAULT_METADATA_CLASSES =
""
Constants inherited from Ariadne::TableNavComponent::BaseRowItem
BASE_MAIN_CLASSES, BASE_ROW_CLASSES, BASE_SELECTION_CLASSES, DEFAULT_TAG
Constants inherited from Ariadne::TableNavComponent
Constants inherited from Component
Component::BASE_HIDDEN_CLASS, Component::BASE_MAIN_CLASSES, Component::BASE_WRAPPER_CLASSES, Component::INVALID_ARIA_LABEL_TAGS
Constants included from ActionViewExtensions::FormHelper
ActionViewExtensions::FormHelper::DEFAULT_FORM_CLASSES
Constants included from Status::Dsl
Constants included from ViewHelper
Constants included from FetchOrFallbackHelper
FetchOrFallbackHelper::INTEGER_TYPES, FetchOrFallbackHelper::InvalidValueError, FetchOrFallbackHelper::TRUE_OR_FALSE
Instance Attribute Summary collapse
-
#href ⇒ Object
readonly
Returns the value of attribute href.
Attributes inherited from Ariadne::TableNavComponent::BaseRowItem
Instance Method Summary collapse
-
#initialize(classes: "", attributes: {}) ⇒ RowItem
constructor
A new instance of RowItem.
Methods inherited from Ariadne::TableNavComponent::BaseRowItem
Methods inherited from Ariadne::TableNavComponent
#has_footer?, #has_header_row?
Methods included from ActionViewExtensions::FormHelper
Methods included from ClassNameHelper
Methods included from LoggerHelper
#logger, #silence_deprecations?, #silence_warnings?
Methods included from FetchOrFallbackHelper
#check_incoming_attribute, #check_incoming_tag, #check_incoming_value, #fetch_or_raise, #fetch_or_raise_boolean, #fetch_or_raise_integer
Constructor Details
#initialize(classes: "", attributes: {}) ⇒ RowItem
Returns a new instance of RowItem.
145 146 147 148 149 150 151 |
# File 'app/components/ariadne/table_nav_component.rb', line 145 def initialize(classes: "", attributes: {}) @header = false actual_classes = class_names(DEFAULT_ROW_CLASSES, classes) super(classes: actual_classes, attributes: attributes) end |
Instance Attribute Details
#href ⇒ Object (readonly)
Returns the value of attribute href.
143 144 145 |
# File 'app/components/ariadne/table_nav_component.rb', line 143 def href @href end |