Class: Anchor::BreadcrumbsComponent
- Defined in:
- app/components/anchor/breadcrumbs_component.rb
Constant Summary
Constants included from ViewHelper
Instance Method Summary collapse
-
#initialize(label: "Breadcrumb", **kwargs) ⇒ BreadcrumbsComponent
constructor
A new instance of BreadcrumbsComponent.
Methods inherited from Component
Methods included from ViewHelper
#anchor_form_with, #anchor_svg, #deep_blank?, #merge_options, #popover_trigger_attributes
Methods included from FetchOrFallbackHelper
Constructor Details
#initialize(label: "Breadcrumb", **kwargs) ⇒ BreadcrumbsComponent
Returns a new instance of BreadcrumbsComponent.
5 6 7 8 9 |
# File 'app/components/anchor/breadcrumbs_component.rb', line 5 def initialize(label: "Breadcrumb", **kwargs) @label = label super(**kwargs) end |